Package megamek.common.net.connections
Class SendPacket
java.lang.Object
megamek.common.net.connections.SendPacket
- All Implemented Interfaces:
INetworkPacket
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SendPacket
-
-
Method Details
-
marshallingType
public int marshallingType()- Specified by:
marshallingTypein interfaceINetworkPacket- Returns:
- The data marshalling type.
-
data
public byte[] data()- Specified by:
datain interfaceINetworkPacket- Returns:
- The packet data.
-
isCompressed
public boolean isCompressed()- Specified by:
isCompressedin interfaceINetworkPacket- Returns:
- True if the data is compressed.
-
getCommand
-