Class DataPacketExtension

    • Constructor Detail

      • DataPacketExtension

        public DataPacketExtension​(String sessionID,
                                   int seq,
                                   String data)
        Creates a new In-Band Bytestream data packet.
        Parameters:
        sessionID - unique session ID identifying this In-Band Bytestream
        seq - sequence of this stanza in regard to the other data packets
        data - the base64 encoded data contained in this packet
        Throws:
        IllegalArgumentException - if seq is not within the range [0, 65535].
      • DataPacketExtension

        public DataPacketExtension​(String sessionID,
                                   UInt16 seq,
                                   String data)
        Creates a new In-Band Bytestream data packet.
        Parameters:
        sessionID - unique session ID identifying this In-Band Bytestream
        seq - sequence of this stanza in regard to the other data packets
        data - the base64 encoded data contained in this packet