PkgAgentSystem.Experiences
Class SendExperienceMessage
java.lang.Object
|
+--PkgAgentSystem.Messaging.BroadcastMessage
|
+--PkgAgentSystem.Experiences.SendExperienceMessage
- All Implemented Interfaces:
- Cloneable, MessageType, Serializable
- class SendExperienceMessage
- extends BroadcastMessage
A message to send the experience with a certain agent (characteristic and value) to all other
local agents.
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
- Serialized Form
Methods inherited from class PkgAgentSystem.Messaging.BroadcastMessage |
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 |
SendExperienceMessage
protected SendExperienceMessage(Statement stat)
- Creates a new message for sending the experience with an agent to all others.
- Parameters:
stat
- the statement to tell the other agents. Must be provided.
getStatement
public Statement getStatement()
- Returns the contained statement.
- Returns:
- the contained statement
toString
public String toString()
- returns a string representation of this message.
Includes the statement to tell.
- Overrides:
toString
in class BroadcastMessage
- Returns:
- a string representation of this message
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.