public class IPPacket extends Message
DEFAULT_MESSAGE_LENGTH
Constructor and Description |
---|
IPPacket(long length,
int sourceId,
int destId,
int group,
int type) |
Modifier and Type | Method and Description |
---|---|
int |
getDestinationId() |
int |
getGroupId() |
int |
getSourceId() |
double |
getTag() |
int |
getTypeId() |
void |
setDestinationId(int destinationId) |
void |
setGroupId(int groupId) |
void |
setSourceId(int sourceId) |
void |
setTag(double tag) |
void |
setTypeId(int typeId) |
java.lang.String |
toString() |
public IPPacket(long length, int sourceId, int destId, int group, int type)
public int getSourceId()
public void setSourceId(int sourceId)
public int getDestinationId()
public void setDestinationId(int destinationId)
public int getGroupId()
public void setGroupId(int groupId)
public double getTag()
public void setTag(double tag)
public int getTypeId()
public void setTypeId(int typeId)