java.lang.Object
com.act365.net.udp.UDPWriter
- public class UDPWriter
- extends java.lang.Object
Class UDPWriter writes UDP messages into bytestreams.
|
Method Summary |
static byte[] |
write(byte[] sourceaddress,
short sourceport,
byte[] destinationaddress,
short destinationport,
byte[] data,
int datalength)
Builds a UDP message and writes it to a bytestream. |
(package private) static byte[] |
write(UDPMessage message)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDPWriter
public UDPWriter()
write
static byte[] write(UDPMessage message)
write
public static byte[] write(byte[] sourceaddress,
short sourceport,
byte[] destinationaddress,
short destinationport,
byte[] data,
int datalength)
- Builds a UDP message and writes it to a bytestream.