|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.net.NetConnectionServer.DefaultDispatcher
public static class NetConnectionServer.DefaultDispatcher
The DefaultDispatcher provides a default ConnectionDispatcher that is used when the NetConnectionServer constructor in the enclosing class is called with a NetConnectionHandler
| Constructor Summary | |
|---|---|
NetConnectionServer.DefaultDispatcher(NetConnectionHandler handler,
java.lang.Object signature)
Creates a new DefaultDispatcher object. |
|
NetConnectionServer.DefaultDispatcher(NetConnectionHandler handler,
java.lang.Object signature,
Logger logger)
if logger is not null, it will be used to log established and closed connections |
|
| Method Summary | |
|---|---|
java.lang.Thread |
createHandlerThread(NetConnection con)
uses a MessageDelegator instance as Runnable; the DefaultDispatcher's logger is passed to the MessageDelegator. |
java.lang.Object |
getConnectionSignature()
DOCUMENT ME! |
Logger |
getLogger()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetConnectionServer.DefaultDispatcher(NetConnectionHandler handler,
java.lang.Object signature)
handler - DOCUMENT ME!signature - DOCUMENT ME!
public NetConnectionServer.DefaultDispatcher(NetConnectionHandler handler,
java.lang.Object signature,
Logger logger)
| Method Detail |
|---|
public java.lang.Thread createHandlerThread(NetConnection con)
createHandlerThread in interface ConnectionDispatcherMessageDelegatorpublic java.lang.Object getConnectionSignature()
getConnectionSignature in interface ConnectionDispatcherpublic Logger getLogger()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||