|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommunicatorServer
Rather internal interface for a server implementation.
This interface act as a adapter for different server technologies.
For example, there is net4j server adaption implementation.
Only Server Provider should implement this interface.
Clients should use ICommunicatorService
instead a front facade to the server environment of ceno
Method Summary | |
---|---|
void |
initServer(ServerDescriptor serverDescriptor,
IEventDispatcher eventDispatcher)
|
void |
run()
Start the server thread |
void |
shutdown()
ends the server thread |
Method Detail |
---|
void run()
void shutdown()
void initServer(ServerDescriptor serverDescriptor, IEventDispatcher eventDispatcher)
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 |