com.act365.net.tcp
Class TCPOptions

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

public class TCPOptions
extends java.lang.Object

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


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)