railo.runtime.net.ftp
Class FTPConnectionImpl

java.lang.Object
  extended by railo.runtime.net.ftp.FTPConnectionImpl
All Implemented Interfaces:
FTPConnection

public final class FTPConnectionImpl
extends Object
implements FTPConnection


Constructor Summary
FTPConnectionImpl(String name, String server, String username, String password, int port, int timeout, short transferMode, boolean passive, String proxyserver, int proxyport, String proxyuser, String proxypassword)
           
 
Method Summary
 boolean equal(Object o)
           
 String getName()
           
 String getPassword()
           
 int getPort()
           
 String getProxyPassword()
          return the proxy password
 int getProxyPort()
           
 String getProxyServer()
           
 String getProxyUser()
          return the proxy username
 String getServer()
           
 int getTimeout()
           
 short getTransferMode()
           
 String getUsername()
           
 boolean hasLoginData()
           
 boolean hasName()
           
 boolean isPassive()
           
 boolean loginEquals(FTPConnection conn)
           
 void setTransferMode(short transferMode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPConnectionImpl

public FTPConnectionImpl(String name,
                         String server,
                         String username,
                         String password,
                         int port,
                         int timeout,
                         short transferMode,
                         boolean passive,
                         String proxyserver,
                         int proxyport,
                         String proxyuser,
                         String proxypassword)
Parameters:
name -
server -
username -
password -
port -
timeout -
transferMode -
passive -
proxyserver -
Method Detail

getName

public String getName()
Specified by:
getName in interface FTPConnection
Returns:
Returns the name.

getPassword

public String getPassword()
Specified by:
getPassword in interface FTPConnection
Returns:
Returns the password.

getServer

public String getServer()
Specified by:
getServer in interface FTPConnection
Returns:
Returns the server.

getUsername

public String getUsername()
Specified by:
getUsername in interface FTPConnection
Returns:
Returns the username.

hasLoginData

public boolean hasLoginData()
Specified by:
hasLoginData in interface FTPConnection
Returns:
returns if has logindata or not

hasName

public boolean hasName()
Specified by:
hasName in interface FTPConnection
Returns:
has name

getPort

public int getPort()
Specified by:
getPort in interface FTPConnection
Returns:
Returns the port.

getTimeout

public int getTimeout()
Specified by:
getTimeout in interface FTPConnection
Returns:
Returns the timeout.

getTransferMode

public short getTransferMode()
Specified by:
getTransferMode in interface FTPConnection
Returns:
Returns the transferMode.

setTransferMode

public void setTransferMode(short transferMode)

isPassive

public boolean isPassive()
Specified by:
isPassive in interface FTPConnection
Returns:
Returns the passive.

loginEquals

public boolean loginEquals(FTPConnection conn)
Specified by:
loginEquals in interface FTPConnection
Returns:
has equal login

getProxyPassword

public String getProxyPassword()
Description copied from interface: FTPConnection
return the proxy password

Specified by:
getProxyPassword in interface FTPConnection
Returns:
proxy password

getProxyPort

public int getProxyPort()
Specified by:
getProxyPort in interface FTPConnection

getProxyServer

public String getProxyServer()
Specified by:
getProxyServer in interface FTPConnection
Returns:
Returns the proxyserver.

getProxyUser

public String getProxyUser()
Description copied from interface: FTPConnection
return the proxy username

Specified by:
getProxyUser in interface FTPConnection
Returns:
proxy username

equal

public boolean equal(Object o)


Copyright © 2012 Railo