Interface INetworkPacket

All Known Implementing Classes:
SendPacket

public interface INetworkPacket
This is an interface for a connection layer data packet.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
     
    boolean
     
    int
     
  • Method Details

    • marshallingType

      int marshallingType()
      Returns:
      The data marshalling type.
    • data

      byte[] data()
      Returns:
      The packet data.
    • isCompressed

      boolean isCompressed()
      Returns:
      True if the data is compressed.