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.
See Also:
FTPConnection.getName()

getPassword

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

getServer

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

getUsername

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

hasLoginData

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

hasName

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

getPort

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

getTimeout

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

getTransferMode

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

setTransferMode

public void setTransferMode(short transferMode)

isPassive

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

loginEquals

public boolean loginEquals(FTPConnection conn)
Specified by:
loginEquals in interface FTPConnection
Returns:
has equal login
See Also:
FTPConnection.loginEquals(railo.runtime.net.ftp.FTPConnection)

getProxyPassword

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

Specified by:
getProxyPassword in interface FTPConnection
Returns:
proxy password
See Also:
FTPConnection.getProxyPassword()

getProxyPort

public int getProxyPort()
Specified by:
getProxyPort in interface FTPConnection
See Also:
FTPConnection.getProxyPort()

getProxyServer

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

getProxyUser

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

Specified by:
getProxyUser in interface FTPConnection
Returns:
proxy username
See Also:
FTPConnection.getProxyUser()

equal

public boolean equal(Object o)


Copyright © 2012 Railo