|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectasynctcp.ASyncTCP
public class ASyncTCP
A library for performing reliable data transfer over TCP. This library is to be used with the ASync library, which allows high-performance network I/O over a single thread.
| Constructor Summary | |
|---|---|
ASyncTCP()
Creates a new ASyncTCP instance to manage locally established TCP/IP connections. |
|
ASyncTCP(int _port_num)
Creates a new ASyncTCP instance to manage both locally and remotely established TCP/IP connections. |
|
| Method Summary | |
|---|---|
ConnectionManager |
getConnectionManager()
Returns the ConnectionManager through which incoming and
outgoing connections can be managed. |
ASyncTCPParams |
getParams()
Returns the parameters for this ASyncTCP instance. |
ASyncService |
getService()
Returns the ASyncService required to register with a
ASyncProvider instance |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASyncTCP()
public ASyncTCP(int _port_num)
port_num is less than 0, then this instance
will not listen for incoming TCP connections on any port, and will
only manage locally established connections.
_port_num - the port number to listen for new connections on| Method Detail |
|---|
public ASyncService getService()
ASyncService required to register with a
ASyncProvider instance
ASyncService for this ASyncTCP instancepublic ConnectionManager getConnectionManager()
ConnectionManager through which incoming and
outgoing connections can be managed.
ConnectionManager for this ASyncTCP instancepublic ASyncTCPParams getParams()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||