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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPOptions
public TCPOptions()
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)