Package gnu.io.rfc2217
Class TransmitBinaryOptionHandler
- java.lang.Object
-
- org.apache.commons.net.telnet.TelnetOptionHandler
-
- gnu.io.rfc2217.TransmitBinaryOptionHandler
-
public class TransmitBinaryOptionHandler extends org.apache.commons.net.telnet.TelnetOptionHandler
Handler for the telnetTRANSMIT-BINARY
option defined by RFC 856.- See Also:
- RFC 856
-
-
Field Summary
Fields Modifier and Type Field Description static int
TRANSMIT_BINARY_OPTION
-
Constructor Summary
Constructors Constructor Description TransmitBinaryOptionHandler(boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
answerSubnegotiation(int[] data, int length)
int[]
startSubnegotiationLocal()
int[]
startSubnegotiationRemote()
-
-
-
Field Detail
-
TRANSMIT_BINARY_OPTION
public static final int TRANSMIT_BINARY_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
answerSubnegotiation
public int[] answerSubnegotiation(int[] data, int length)
- Specified by:
answerSubnegotiation
in classorg.apache.commons.net.telnet.TelnetOptionHandler
-
startSubnegotiationLocal
public int[] startSubnegotiationLocal()
- Specified by:
startSubnegotiationLocal
in classorg.apache.commons.net.telnet.TelnetOptionHandler
-
startSubnegotiationRemote
public int[] startSubnegotiationRemote()
- Specified by:
startSubnegotiationRemote
in classorg.apache.commons.net.telnet.TelnetOptionHandler
-
-