Class CurrentContext
java.lang.Object
ecmwf.common.ftpd.CurrentContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe accounts.The activity.The aliases.static final char
The Constant ATYPE.The auth name.boolean
The browser.int
The buffer.The client name.The client socket.The data ip.int
The data port.The data socket.The domain name.The domain user.The domain value.The in.static final char
The Constant ITYPE.The local ip.The out.The parameters list.boolean
The passive mode.The path.The plugin.The remote ip.The remote site.The rename file.long
The rest.The session.char
The transfer type.int
The umask.The user. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Contains aliases.Gets the alias.Gets the aliases.getPath()
Gets the path.void
logout()
Logout.void
New event.void
Puts the alias.void
removeAlias
(String source) Removes the alias.void
Respond.void
Respond.void
Respond.Transfer eol.Transfer text.
-
Field Details
-
ATYPE
public static final char ATYPEThe Constant ATYPE.- See Also:
-
ITYPE
public static final char ITYPEThe Constant ITYPE.- See Also:
-
user
The user. -
authName
The auth name. -
remoteSite
The remote site. -
remoteIP
The remote ip. -
localIP
The local ip. -
out
The out. -
in
The in. -
clientSocket
The client socket. -
dataSocket
The data socket. -
dataPort
public int dataPortThe data port. -
dataIP
The data ip. -
accounts
-
transferType
public char transferTypeThe transfer type. -
activity
The activity. -
aliases
-
browser
public boolean browserThe browser. -
clientName
The client name. -
buffer
public int bufferThe buffer. -
session
The session. -
domainName
The domain name. -
domainUser
The domain user. -
domainValue
The domain value. -
parametersList
-
passiveMode
public boolean passiveModeThe passive mode. -
path
-
plugin
The plugin. -
renameFile
The rename file. -
rest
public long restThe rest. -
umask
public int umaskThe umask.
-
-
Method Details
-
logout
public void logout()Logout. -
transferText
-
transferEOL
-
containsAliases
public boolean containsAliases()Contains aliases.- Returns:
- true, if successful
-
getAlias
-
getAliases
-
getPath
-
newEvent
-
putAlias
-
removeAlias
-
respond
Respond.- Parameters:
code
- the codemessage
- the message
-
respond
-
respond
Respond.- Parameters:
code
- the codeexception
- the exception
-