Class ComPortOptionHandler


  • public class ComPortOptionHandler
    extends org.apache.commons.net.telnet.TelnetOptionHandler
    RFC 2217 telnet COM-PORT-OPTION.
    See Also:
    RFC 2217
    • 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
    • Constructor Detail

      • ComPortOptionHandler

        protected ComPortOptionHandler​(TelnetSerialPort telnetSerialPort)
    • 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