Agent System POND 1.0 (1.7.2000)

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

Fields inherited from class PkgAgentSystem.Messaging.Message
addressee, convTypeID, destConvID, sender, srcConvID
 
Constructor Summary
protected SendExperienceMessage(AgentIdentity sender, long convTypeID, long srcConvID, Statement stat)
          Creates a new message for sending the experience with an agent to all others.
 
Method Summary
 Statement getStatement()
          Returns the contained statement.
 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

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 statement
convTypeID - 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.
Method Detail

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

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.