server.services
Class ExtendedUserSession
java.lang.Object
|
+--server.UserSession
|
+--server.services.ExtendedUserSession
- All Implemented Interfaces:
- Session
- public class ExtendedUserSession
- extends UserSession
Methods inherited from class server.UserSession |
abortTransmission, addUserSessionObserver, disconnectClient, getClientInetAddress, getClientIP, getClientTag, getConversation, getLogin, getLogonTime, getLogonTimeAsDate, getNumberOfRecivedFiles, getNumberOfSendFiles, getRecivedByteTotal, getSendBytesInFile, getSendByteTotal, getSessionNr, getSpeedInBytesPrSek, getUserState, isFileDownload, isFileUpload, isLogedIn, removeUserSessionObserver, sendingFile, setSpeedInBytesPrSek, tellClient |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedUserSession
public ExtendedUserSession()
set
protected void set(Session ses,
Command com)
- Description copied from class:
UserSession
- Sets the classes references. Made, because it cannot be set in the constructors,
because the objects is instantiated in a certain order.
- Overrides:
set
in class UserSession
- Parameters:
ses
- Sessioncom
- Command
commandUpdate
protected void commandUpdate(String command)
serverResponse
protected void serverResponse(String response)
fileTransferStarted
protected void fileTransferStarted(File file)
fileTransferEnded
protected void fileTransferEnded(boolean successfull)
bytesTransmitted
protected void bytesTransmitted(long[] arr)
userLogedIn
protected void userLogedIn()
userLogedOut
protected void userLogedOut()
userDisconnected
public void userDisconnected(int reasonCode)