|
FTP-Server API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--server.LogFileSession
The class represents a single session fetched from a logfile. It should be obtained though LogFileReader.
Constructor Summary | |
protected |
LogFileSession(String login,
int sessionNr,
String ip,
String time,
Vector conversation)
Makes a new LogFileSession |
Method Summary | |
boolean |
equals(LogFileSession logFileSession)
Compares this object to another. |
String |
getClientIP()
The clients ip. |
Vector |
getConversation()
Al communication between the client and the server. |
String |
getLogin()
The clients loginname. |
String |
getLogonTime()
The time the client logged onto the server. |
int |
getSessionNr()
The sessionnumber, that this sessionnumber has. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected LogFileSession(String login, int sessionNr, String ip, String time, Vector conversation)
login
- loginnamesessionNr
- autogenerated numberip
- ip-addresstime
- of loginconversation
- the clients conversation with the serverMethod Detail |
public boolean equals(LogFileSession logFileSession)
logFileSession
- tje object that should be compared whith,
public String getLogin()
Session
getLogin
in interface Session
public String getClientIP()
Session
getClientIP
in interface Session
public String getLogonTime()
Session
getLogonTime
in interface Session
public int getSessionNr()
Session
getSessionNr
in interface Session
public Vector getConversation()
Session
getConversation
in interface Session
|
FTP-Server API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |