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

Variable Index

 o PREFIX_SIZE
 o QALSLEN_SIZE
 o QALS_PREFIX

Method Index

 o createMessage()
Actually fill the byte array 'msg' with ALL the bytes that make up this load message.
 o parse(byte[], int)
There is nothing to parse in a QueryAgentList message.

Variables

 o PREFIX_SIZE
  public final static int PREFIX_SIZE
 o QALS_PREFIX
  public final static String QALS_PREFIX
 o QALSLEN_SIZE
  public final static int QALSLEN_SIZE

Methods

 o parse
  public void parse(byte b[],
                    int currentOffset)
There is nothing to parse in a QueryAgentList message. The message prefix, QALs is the message.
 o 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