|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjtge.engine.net.ClientFactory
Adapts a peer factory to provide late initialization for a client.
| Constructor Summary | |
ClientFactory(IInputOutputFactoryFactory factory)
Create a server factory. |
|
| Method Summary | |
void |
close()
Perform a close operation. |
IClosable |
create(ISessionManager manager)
Create a peer. |
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 ClientFactory(IInputOutputFactoryFactory factory)
factory - a factory for input-output factories| Method Detail |
public final IClosable create(ISessionManager manager)
create in interface IPeerFactorymanager - the session manager
public final void close()
close in interface IClosable
public final void open(java.lang.String host,
int port)
open in interface IClienthost - the host nameport - the host port
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||