Class OPT


  • public class OPT
    extends Data
    OPT payload (see RFC 2671 for details).
    • Constructor Detail

      • OPT

        public OPT()
    • Method Detail

      • parse

        public static OPT parse​(java.io.DataInputStream dis,
                                int payloadLength)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • serialize

        protected void serialize​(java.io.DataOutputStream dos)
                          throws java.io.IOException
        Description copied from class: Data
        The internal method used to serialize Data subclasses.
        Specified by:
        serialize in class Data
        Parameters:
        dos - the output stream to serialize to.
        Throws:
        java.io.IOException - if an I/O error occurs.