Class DataPacketExtension

    • Field Detail

      • QNAME

        public static final javax.xml.namespace.QName QNAME
    • Constructor Detail

      • DataPacketExtension

        public DataPacketExtension​(java.lang.String sessionID,
                                   int seq,
                                   java.lang.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:
        java.lang.IllegalArgumentException - if seq is not within the range [0, 65535].
      • DataPacketExtension

        public DataPacketExtension​(java.lang.String sessionID,
                                   UInt16 seq,
                                   java.lang.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