|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.net.ServerImp
Implements the server logics.
Constructor Summary | |
ServerImp(IConnectionObserver observer,
IInputOutputFactory factory)
Create a controller. |
Method Summary | |
void |
close()
Perform a close operation. |
void |
open(int port)
Open the server listening on a given port. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerImp(IConnectionObserver observer, IInputOutputFactory factory)
observer
- the connection observerfactory
- the input/output factoryMethod Detail |
public final void open(int port)
open
in interface IServer
port
- the host portpublic final void close()
close
in interface IClosable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |