Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.act365.net.udp
Class UDPWriter  view UDPWriter download UDPWriter.java

java.lang.Object
  extended bycom.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.
(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
 

Constructor Detail

UDPWriter

public UDPWriter()
Method Detail

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.