com.act365.net.udp
Class UDPWriter

java.lang.Object
  |
  +--com.act365.net.udp.UDPWriter

public class UDPWriter
extends java.lang.Object

Class UDPWriter writes UDP messages into bytestreams.


Constructor Summary
UDPWriter()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDPWriter

public UDPWriter()
Method Detail

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.