Class TransmitBinaryOptionHandler


  • public class TransmitBinaryOptionHandler
    extends org.apache.commons.net.telnet.TelnetOptionHandler
    Handler for the telnet TRANSMIT-BINARY option defined by RFC 856.
    See Also:
    RFC 856
    • 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()  
      • Methods inherited from class org.apache.commons.net.telnet.TelnetOptionHandler

        getAcceptLocal, getAcceptRemote, getInitLocal, getInitRemote, getOptionCode, setAcceptLocal, setAcceptRemote, setInitLocal, setInitRemote
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • TransmitBinaryOptionHandler

        public TransmitBinaryOptionHandler​(boolean initlocal,
                                           boolean initremote,
                                           boolean acceptlocal,
                                           boolean acceptremote)
    • Method Detail

      • answerSubnegotiation

        public int[] answerSubnegotiation​(int[] data,
                                          int length)
        Specified by:
        answerSubnegotiation in class org.apache.commons.net.telnet.TelnetOptionHandler
      • startSubnegotiationLocal

        public int[] startSubnegotiationLocal()
        Specified by:
        startSubnegotiationLocal in class org.apache.commons.net.telnet.TelnetOptionHandler
      • startSubnegotiationRemote

        public int[] startSubnegotiationRemote()
        Specified by:
        startSubnegotiationRemote in class org.apache.commons.net.telnet.TelnetOptionHandler