server.services
Class Session
java.lang.Object
|
+--server.services.Session
- public class Session
- extends Object
The Session object holds all the information needed to make the FTP-Server work.
It is a kind of information-holder, and service class for all of the Abstract Commands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionNr
public int sessionNr
logedIn
public boolean logedIn
mode
public boolean mode
clientCommandSocket
public Socket clientCommandSocket
serverIP
public String serverIP
dataIP
public String dataIP
dataPort
public int dataPort
xml
public XMLTag xml
bb
public BigBrother bb
logFile
public LogFileWriter logFile
fileHandler
public FileHandler fileHandler
fileSystem
public FileSystem fileSystem
us
public ExtendedUserSession us
Session
protected Session(Socket clientCommandSocket,
ExtendedUserSession eus,
Probe probe)
commandUpdate
public void commandUpdate(String update,
int direction)
setAdmin
public void setAdmin()
setLogedIn
public void setLogedIn(boolean logedIn)
bytesTransmitted
protected void bytesTransmitted(long[] arr)
fileTransferEnded
protected void fileTransferEnded(boolean successfull)
fileTransferStarted
protected void fileTransferStarted(FileHandler fileHandler)
setClientIP
public void setClientIP()
getLogin
public String getLogin()
disconnectClient
public void disconnectClient(int reasonCode)
setUTF
public void setUTF(boolean on)