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

Quick Search    Search Deep

com.act365.net.tcp
Class TCPWriter  view TCPWriter download TCPWriter.java

java.lang.Object
  extended bycom.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.
(package private) static byte[] write(TCPMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPWriter

public TCPWriter()
Method Detail

write

static byte[] write(TCPMessage message)

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.