FTP-Server API

server.services
Class ExtendedUserSession

java.lang.Object
  |
  +--server.UserSession
        |
        +--server.services.ExtendedUserSession
All Implemented Interfaces:
Session

public class ExtendedUserSession
extends UserSession


Field Summary
 
Fields inherited from class server.UserSession
obs, state
 
Constructor Summary
ExtendedUserSession()
           
 
Method Summary
protected  void bytesTransmitted(long[] arr)
           
protected  void commandUpdate(String command)
           
protected  void fileTransferEnded(boolean successfull)
           
protected  void fileTransferStarted(File file)
           
protected  void serverResponse(String response)
           
protected  void set(Session ses, Command com)
          Sets the classes references.
 void userDisconnected(int reasonCode)
           
protected  void userLogedIn()
           
protected  void userLogedOut()
           
 
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
 

Constructor Detail

ExtendedUserSession

public ExtendedUserSession()
Method Detail

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 - Session
com - 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)

FTP-Server API