PkgAgentSystem.Experiences
Class SendExperienceMessage
java.lang.Object
|
+--PkgAgentSystem.Messaging.Message
|
+--PkgAgentSystem.Messaging.BroadcastMessage
|
+--PkgAgentSystem.Experiences.SendExperienceMessage
- 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 java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
SendExperienceMessage
protected SendExperienceMessage(AgentIdentity sender,
long convTypeID,
long srcConvID,
Statement stat)
- Creates a new message for sending the experience with an agent to all others.
- Parameters:
sender
- the identity of the agent telling this statementconvTypeID
- ID of the type of the conversation. Must not be 0.srcConvID
- ID of the conversation at the source. Must not be 0.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.
- Returns:
- a string representation of this message
- Overrides:
- toString in class BroadcastMessage
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.