Class HdlcParameters


  • public class HdlcParameters
    extends java.lang.Object
    This class represents optional parameter that are negotiated during the connection phase between client and server on the HDLC layer. For more information, see IEC 62056-46 section 6.4.4.4.3.2 and ISO 13239 section 5.5.3.2.2
    • Constructor Detail

      • HdlcParameters

        public HdlcParameters()
      • HdlcParameters

        public HdlcParameters​(int transmitInformationLength,
                              int transmitWindowSize)
      • HdlcParameters

        public HdlcParameters​(int receiveInformationLength,
                              int receiveWindowSize,
                              int transmitInformationLength,
                              int transmitWindowSize)
    • Method Detail

      • getTransmitInformationLength

        public int getTransmitInformationLength()
      • getTransmitWindowSize

        public int getTransmitWindowSize()
      • getReceiveInformationLength

        public int getReceiveInformationLength()
      • getReceiveWindowSize

        public int getReceiveWindowSize()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • encode

        public byte[] encode()