Agent System POND 1.0 (1.7.2000)

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

Fields inherited from class PkgAgentSystem.Messaging.Message
addressee, convTypeID, destConvID, sender, srcConvID
 
Constructor Summary
SendStatementsMessage(Vector statements, AgentIdentity myself, Message msg)
          Creates a new message for sinding a list of statements to another agent.
 
Method Summary
 Vector getStatements()
          Returns the list of statements.
 String toString()
          Returns a string representation of this message.
 
Methods inherited from class PkgAgentSystem.Messaging.Message
copy, getAddressee, getConversationTypeID, getDestConversationID, getSender, getSrcConversationID, setDestConversationID, setSrcConversationID
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 transfer
myself - the sender of this message
msg - the message in reply to which to send the statements
Method Detail

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

Agent System POND 1.0 (1.7.2000)

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.