Agent System POND 1.2 (28.2.2002)

PkgAgentSystem.Experiences
Class SendStatementsMessage

java.lang.Object
  |
  +--PkgAgentSystem.Messaging.Message
        |
        +--PkgAgentSystem.Experiences.SendStatementsMessage
All Implemented Interfaces:
Cloneable, MessageType, Serializable

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

Constructor Summary
SendStatementsMessage(Vector statements)
          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, fromInitiator, getAddressee, getConversationTypeID, getDestConversationID, getSender, getSrcConversationID, setAddressee, setConversationTypeID, setDestConversationID, setFromInitiator, setSender, 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)
Creates a new message for sinding a list of statements to another agent.
Parameters:
statements - the statements to transfer
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.
Overrides:
toString in class Message
Returns:
string representation of this message

Agent System POND 1.2 (28.2.2002)

Submit a bug

Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.