Class DataChannelMessage


  • public final class DataChannelMessage
    extends Object
    Describes the message received including a sequence number and user-provided data
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finalize()
      Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
      byte[] getData()
      Byte array holding the data received
      long getSequenceNumber()
      Sequence number indicating the order of the message
      • Methods inherited from class Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getSequenceNumber

        public long getSequenceNumber()
        Sequence number indicating the order of the message
      • getData

        public byte[] getData()
        Byte array holding the data received