|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ceno.communication.srv.net4j.Net4JServer
public class Net4JServer
Constructor Summary | |
---|---|
Net4JServer()
|
Method Summary | |
---|---|
void |
initServer(ServerDescriptor serverDescriptor,
IEventDispatcher eventDispatcher)
|
void |
run()
Start the server thread |
void |
shutdown()
ends the server thread |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Net4JServer()
Method Detail |
---|
public void run()
run
in interface ICommunicatorServer
public void shutdown()
shutdown
in interface ICommunicatorServer
public void initServer(ServerDescriptor serverDescriptor, IEventDispatcher eventDispatcher)
initServer
in interface ICommunicatorServer
serverDescriptor
- encapsulates all required information to run the servereventDispatcher
- a callback object invoked each time an event is catche
in the server environment. eventDispatcher will call
appropriate handlers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |