Class CometBinary

    • Constructor Detail

      • CometBinary

        public CometBinary()
        Instantiates a new Comet binary.
      • CometBinary

        public CometBinary​(byte[] data)
        Instantiates a new Comet binary.
        Parameters:
        data - the data
      • CometBinary

        public CometBinary​(int id,
                           long timestamp,
                           byte[] data,
                           CometBinary.Type type)
        Instantiates a new Comet binary.
        Parameters:
        id - the id
        timestamp - the timestamp
        data - the data
        type - the type
    • Method Detail

      • getData

        public byte[] getData()
        Get data byte [ ].
        Returns:
        the byte [ ]
      • setData

        public void setData​(byte[] data)
        Sets data.
        Parameters:
        data - the data
      • setType

        public void setType​(CometBinary.Type type)
        Sets type.
        Parameters:
        type - the type