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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.act365.net.tcp.TCPOptions

public class TCPOptions
extends java.lang.Object

Implements various options that are permitted to appear in a TCP message.


Field Summary
(package private)  short maxSegmentSize
           
(package private)  boolean maxSegmentSizeSet
           
(package private)  int timestampEchoReply
           
(package private)  boolean timestampSet
           
(package private)  int timestampValue
           
(package private)  byte windowScaleFactor
           
(package private)  boolean windowScaleFactorSet
           
 
Constructor Summary
TCPOptions()
           
 
Method Summary
 short getMaxSegmentSize()
           
 int getTimestampEchoReply()
           
 int getTimestampValue()
           
 byte getWindowScaleFactor()
           
 boolean isMaxSegmentSizeSet()
           
 boolean isTimestampSet()
           
 boolean isWindowScaleFactorSet()
           
 void setMaxSegmentSize(short maxSegmentSize)
           
 void setTimestamp(int timestampValue, int timestampEchoReply)
           
 void setWindowScaleFactor(byte windowScaleFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxSegmentSizeSet

boolean maxSegmentSizeSet

windowScaleFactorSet

boolean windowScaleFactorSet

timestampSet

boolean timestampSet

maxSegmentSize

short maxSegmentSize

windowScaleFactor

byte windowScaleFactor

timestampValue

int timestampValue

timestampEchoReply

int timestampEchoReply
Constructor Detail

TCPOptions

public TCPOptions()
Method Detail

isMaxSegmentSizeSet

public boolean isMaxSegmentSizeSet()

getMaxSegmentSize

public short getMaxSegmentSize()

setMaxSegmentSize

public void setMaxSegmentSize(short maxSegmentSize)

isWindowScaleFactorSet

public boolean isWindowScaleFactorSet()

getWindowScaleFactor

public byte getWindowScaleFactor()

setWindowScaleFactor

public void setWindowScaleFactor(byte windowScaleFactor)

isTimestampSet

public boolean isTimestampSet()

getTimestampValue

public int getTimestampValue()

getTimestampEchoReply

public int getTimestampEchoReply()

setTimestamp

public void setTimestamp(int timestampValue,
                         int timestampEchoReply)