public class AgentMessage extends Object
Constructor and Description |
---|
AgentMessage(int type) |
Modifier and Type | Method and Description |
---|---|
void |
constructByteArray(ByteArrayWriter baw) |
void |
constructMessage(ByteArrayReader bar) |
void |
fromByteArray(byte[] data) |
String |
getMessageName() |
int |
getMessageType() |
byte[] |
toByteArray() |
public String getMessageName()
public int getMessageType()
public void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException, IOException
baw
- InvalidMessageException
IOException
public void constructMessage(ByteArrayReader bar) throws InvalidMessageException, IOException
bar
- InvalidMessageException
IOException
public void fromByteArray(byte[] data) throws InvalidMessageException
data
- InvalidMessageException
public byte[] toByteArray() throws InvalidMessageException
InvalidMessageException
Copyright © 2024. All rights reserved.