|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jscience.util.logging.SocketLogListener
public class SocketLogListener
used to listen to LogEntry objects send through a NetConnection. The NetConnectionServer must be started before use.
Constructor Summary | |
---|---|
SocketLogListener(int port,
Logger logger)
Creates a new SocketLogListener object. |
Method Summary | |
---|---|
void |
connectionLost(NetConnection con)
DOCUMENT ME! |
NetConnectionServer |
getNetConnectionServer()
DOCUMENT ME! |
void |
handleMessage(java.lang.Object message,
NetConnection con)
DOCUMENT ME! |
void |
start()
DOCUMENT ME! |
void |
stop()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketLogListener(int port, Logger logger) throws java.io.IOException
port
- DOCUMENT ME!logger
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!Method Detail |
---|
public NetConnectionServer getNetConnectionServer()
public void start()
public void stop()
public void connectionLost(NetConnection con)
connectionLost
in interface NetConnectionHandler
con
- DOCUMENT ME!public void handleMessage(java.lang.Object message, NetConnection con)
handleMessage
in interface NetConnectionHandler
message
- DOCUMENT ME!con
- DOCUMENT ME!
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |