Class CachedEvent

    • Constructor Detail

      • CachedEvent

        public CachedEvent()
    • Method Detail

      • getTimestamp

        public int getTimestamp()
        Description copied from interface: IStreamPacket
        Timestamp of this packet.
        Specified by:
        getTimestamp in interface IStreamPacket
        Returns:
        the timestamp
      • setTimestamp

        public void setTimestamp​(int timestamp)
        Parameters:
        timestamp - the timestamp to set
      • getReceivedTime

        public long getReceivedTime()
        Returns:
        the receivedTime
      • setReceivedTime

        public void setReceivedTime​(long receivedTime)
        Parameters:
        receivedTime - the receivedTime to set
      • getDataType

        public byte getDataType()
        Description copied from interface: IStreamPacket
        Type of this packet. This is one of the
         TYPE_
         
        constants.
        Specified by:
        getDataType in interface IStreamPacket
        Returns:
        the dataType
      • setDataType

        public void setDataType​(byte dataType)
        Parameters:
        dataType - the dataType to set
      • getData

        public org.apache.mina.core.buffer.IoBuffer getData()
        Description copied from interface: IStreamPacket
        Packet contents.
        Specified by:
        getData in interface IStreamPacket
        Returns:
        the data
      • setData

        public void setData​(org.apache.mina.core.buffer.IoBuffer data)
        Parameters:
        data - the data to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object