Class AbstractPacket

    • Constructor Detail

      • AbstractPacket

        public AbstractPacket()
        Constructor
    • Method Detail

      • setEndpointId

        public final void setEndpointId​(int endpointId)
      • getEndpointId

        public final int getEndpointId()
      • getType

        public abstract byte getType()
        Get the type value for this packet
      • serializeTo

        protected void serializeTo​(RawDataBuffer out)
        Write the packet content to the given output stream
      • unserializeFrom

        protected void unserializeFrom​(RawDataBuffer in)
        Read the packet content to the given input stream
      • isResponseExpected

        public abstract boolean isResponseExpected()