AdventNet Web NMS 4 API Specification

com.adventnet.nms.tftp
Interface TftpLogger


public interface TftpLogger

The listener interface for receiving Tftp log events. The class that is interested in logging of Tftp transactions implements this interface.


Field Summary
static short FINISH
          Constant that specifies the end of File Transfer.
static short START
          Constant that specifies the Start of File Transfer.
 
Method Summary
 void log(TftpLogEvent tle)
          Invoked when a Tftp transaction takes place.
 void logException(java.lang.Exception e)
          Invoked by the Tftp Server for logging the exception that occured during the Tftp Transaction
 

Field Detail

START

public static final short START
Constant that specifies the Start of File Transfer.

FINISH

public static final short FINISH
Constant that specifies the end of File Transfer.
Method Detail

log

public void log(TftpLogEvent tle)
Invoked when a Tftp transaction takes place.
Parameters:
tle - a TftpLogEvent object.

logException

public void logException(java.lang.Exception e)
Invoked by the Tftp Server for logging the exception that occured during the Tftp Transaction

AdventNet Web NMS 4 API Specification