org.vigia.client.communications
Class LogListenerImplementation

java.lang.Object
  extended by org.vigia.client.communications.LogListenerImplementation
All Implemented Interfaces:
LogListener

public class LogListenerImplementation
extends java.lang.Object
implements LogListener

Implementation of LogListener interface

Author:
Daniel Hector Stolfi Rosso

Field Summary
private  java.lang.String logFile
          logFile: String holding the name of the log file
 
Constructor Summary
LogListenerImplementation(java.lang.String logFileName)
          Constructor for the LogListenerImplementation class
 
Method Summary
 void onLog(ELog log, java.lang.String message)
          Receives an log message from the remote camera.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logFile

private java.lang.String logFile
logFile: String holding the name of the log file

Constructor Detail

LogListenerImplementation

public LogListenerImplementation(java.lang.String logFileName)
Constructor for the LogListenerImplementation class

Parameters:
logFileName - name of the log file
Method Detail

onLog

public void onLog(ELog log,
                  java.lang.String message)
Description copied from interface: LogListener
Receives an log message from the remote camera.

Specified by:
onLog in interface LogListener
Parameters:
log - the kind of log message.
message - the log message.
See Also:
LogListener.onLog(org.vigia.shared.communications.ELog, java.lang.String)