PkgAgentSystem.Experiences
Class SendStatementsMessage
java.lang.Object
|
+--PkgAgentSystem.Messaging.Message
|
+--PkgAgentSystem.Experiences.SendStatementsMessage
- public class SendStatementsMessage
- extends Message
A message to send a complete list of statements to another agent.
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
SendStatementsMessage
public SendStatementsMessage(Vector statements,
AgentIdentity myself,
Message msg)
- Creates a new message for sinding a list of statements to another agent.
- Parameters:
statements
- the statements to transfermyself
- the sender of this messagemsg
- the message in reply to which to send the statements
getStatements
public Vector getStatements()
- Returns the list of statements.
- Returns:
- a
Vector
containing all statements
toString
public String toString()
- Returns a string representation of this message.
Contains the sender, the recipient and the number of contained statements.
- Returns:
- string representation of this message
- Overrides:
- toString in class Message
Submit a bug
Copyright 2000 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.