Class agent.util.QueryAgentListMessage
All Packages Class Hierarchy This Package Previous Next Index
Class agent.util.QueryAgentListMessage
java.lang.Object
|
+----agent.util.Message
|
+----agent.util.QueryAgentListMessage
- public class QueryAgentListMessage
- extends Message
A message that supplies the receiver with a list of
dispatchable agents available on this server. It is sent to
provoke a responding AgentListMessage. Message format:
Description Data Length
The command Load 4 bytes
The length 10 bytes ascii int
Class contains both message construction and message parsing
methods.
- See Also:
- QueryAgentListMessage, Message
-
PREFIX_SIZE
-
-
QALSLEN_SIZE
-
-
QALS_PREFIX
-
-
createMessage()
- Actually fill the byte array 'msg' with ALL the bytes that
make up this load message.
-
parse(byte[], int)
- There is nothing to parse in a QueryAgentList message.
PREFIX_SIZE
public final static int PREFIX_SIZE
QALS_PREFIX
public final static String QALS_PREFIX
QALSLEN_SIZE
public final static int QALSLEN_SIZE
parse
public void parse(byte b[],
int currentOffset)
- There is nothing to parse in a QueryAgentList message.
The message prefix, QALs is the message.
createMessage
public void createMessage()
- Actually fill the byte array 'msg' with ALL the bytes that
make up this load message. Expects NO intance variables to
already be filled with valid data.
- Overrides:
- createMessage in class Message
All Packages Class Hierarchy This Package Previous Next Index