edu.utah.janos.io
Class DatagramLogListener
java.lang.Object
|
+--edu.utah.janos.io.DatagramLogListener
- public class DatagramLogListener
- extends java.lang.Object
- implements LogListener
A log listener that tracks the log level and can reply to StatusMessage
queries about the level. This is only really useful for getting a quick
summary of the status of a node.
Method Summary |
void |
logMsg(int level,
java.lang.String msg)
Receive the log message, we just record the level for now. |
void |
start(int port)
Start a listener on the given port |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DatagramLogListener
public DatagramLogListener()
start
public void start(int port)
throws java.lang.Exception
- Start a listener on the given port
logMsg
public void logMsg(int level,
java.lang.String msg)
- Receive the log message, we just record the level for now.
- Specified by:
- logMsg in interface LogListener
This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/