|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.net.ClientImp
Implements the client logics.
Constructor Summary | |
ClientImp(IConnectionObserver observer,
IInputOutputFactory factory)
Create a controller. |
Method Summary | |
void |
close()
Perform a close operation. |
void |
open(java.lang.String host,
int port)
Connect the client to a server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientImp(IConnectionObserver observer, IInputOutputFactory factory)
observer
- the connection observerfactory
- the input/output factoryMethod Detail |
public final void open(java.lang.String host, int port)
open
in interface IClient
host
- the host nameport
- 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 |