|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectasyncudp.ASyncUDP
public class ASyncUDP
A library for performing unreliable data transfer over UDP without any congestion or flow control. If these properties are desired, the PonyRide library should be used instead. This library is to be used with the ASync library, which allows high-performance network I/O over a single thread.
Constructor Summary | |
---|---|
ASyncUDP()
Creates a new ASyncUDP instance to receive UDP/IP datagrams. |
|
ASyncUDP(int _port_num)
Creates a new ASyncUDP instance to both send and receive UDP/IP datagrams. |
Method Summary | |
---|---|
ASyncUDPParams |
getParams()
Returns the parameters for this ASyncUDP instance. |
QueueManager |
getQueueManager()
Returns the QueueManager through which message queues can
be managed. |
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 ASyncUDP()
public ASyncUDP(int _port_num)
port_num
is less than
0
, then this instance will not listen for incoming UDP
datagrams on any port, and can only send datagrams.
_port_num
- the port number to listen for new datagrams onMethod Detail |
---|
public ASyncService getService()
ASyncService
required to register with a
ASyncProvider
instance
ASyncService
for this ASyncUDP instancepublic QueueManager getQueueManager()
QueueManager
through which message queues can
be managed.
QueueManager
for this ASyncUDP instancepublic ASyncUDPParams getParams()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |