com.act365.net.tcp
Class TCPWriter

java.lang.Object
  |
  +--com.act365.net.tcp.TCPWriter

public class TCPWriter
extends java.lang.Object

Writes TCP messages to a bytestream.


Constructor Summary
TCPWriter()
           
 
Method Summary
static byte[] write(byte[] sourceaddress, short sourceport, byte[] destinationaddress, short destinationport, int sequencenumber, int acknowledgementnumber, boolean ack, boolean rst, boolean syn, boolean fin, boolean psh, short windowsize, TCPOptions options, byte[] data, int offset, int count)
          Writes a TCP message to a bytestream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPWriter

public TCPWriter()
Method Detail

write

public static byte[] write(byte[] sourceaddress,
                           short sourceport,
                           byte[] destinationaddress,
                           short destinationport,
                           int sequencenumber,
                           int acknowledgementnumber,
                           boolean ack,
                           boolean rst,
                           boolean syn,
                           boolean fin,
                           boolean psh,
                           short windowsize,
                           TCPOptions options,
                           byte[] data,
                           int offset,
                           int count)
Writes a TCP message to a bytestream.