|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.nms.tftp.TftpLogEvent
public class TftpLogEvent
An event which indicates that a TFTP transaction has occurred. The registered listener will be notified of this event.
| Constructor Summary | |
|---|---|
TftpLogEvent(java.lang.Object logSource)
Constructs a TftpLogEvent. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAddress()
Returns the IPAddress of a client which gets connected to the TFTP server for transferring files. |
int |
getClientCount()
Returns the number of clients connected. |
short |
getCommand()
Returns the type of Transfer( GET or PUT). |
short |
getErrorCode()
Returns the code of the error. |
java.lang.String |
getFileName()
Returns the source file name if the command is GET (read) or the target file name if the command is PUT (write). |
java.lang.String |
getMessage()
Returns the log message which provides brief info about the Tftp Event. |
int |
getPort()
Returns the port at which the server listens to each client. |
long |
getTime()
Returns the time (System time) at which each logging operation took place. |
long |
getTransactionID()
Returns the transactionID, which is a global number incrementing with each client getting connected. |
short |
getType()
Returns the type of TFTP Message, can be one of TftpLogger.START, TftpLogger.FINISH or Tftp1350.ERROR. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TftpLogEvent(java.lang.Object logSource)
logSource - the object that originated this event.| Method Detail |
|---|
public long getTransactionID()
public long getTime()
public short getCommand()
Tftp1350public java.lang.String getAddress()
public int getPort()
public java.lang.String getFileName()
public java.lang.String getMessage()
getType()public short getErrorCode()
Tftp1350public short getType()
public int getClientCount()
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||