Package megamek.common.net.connections
Interface INetworkPacket
- All Known Implementing Classes:
SendPacket
public interface INetworkPacket
This is an interface for a connection layer data packet.
-
Method Summary
-
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.
-