|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.net.NetworkConnector
Implements a network connector.
This connector provides a blocking open.
Constructor Summary | |
NetworkConnector(IInputOutputFactory factory,
IConnectionObserver observer,
java.lang.String host,
int port)
Create a network connector. |
Method Summary | |
void |
open()
Open the connector. Whether this method is blocking or not depends on the implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NetworkConnector(IInputOutputFactory factory, IConnectionObserver observer, java.lang.String host, int port)
factory
- the input/output factoryobserver
- the connection observerhost
- the server host nameport
- the listening portMethod Detail |
public final void open()
Whether this method is blocking or not depends on the implementation.
open
in interface IConnector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |