Public Member Functions

VIAgents.AgentMessage Class Reference

This class represents a message object two agents can exchange. It should eventually become FIPA compliant. More...

List of all members.

Public Member Functions

 AgentMessage (String inContent, InstitutionalAgent inSender)
 Default constructor.
String GetContent ()
 Obtain the content of the message.
InstitutionalAgent GetSender ()
 Get the reference to the sender agent.

Detailed Description

This class represents a message object two agents can exchange. It should eventually become FIPA compliant.


Constructor & Destructor Documentation

VIAgents.AgentMessage.AgentMessage ( String  inContent,
InstitutionalAgent  inSender 
)

Default constructor.

Parameters:
inContent A String representing the message content
inSender An InstitutionalAgent representing the sender agent

Member Function Documentation

String VIAgents.AgentMessage.GetContent (  ) 

Obtain the content of the message.

Returns:
A String representing the message content
InstitutionalAgent VIAgents.AgentMessage.GetSender (  ) 

Get the reference to the sender agent.

Returns:
An InstitutionalAgent reference

The documentation for this class was generated from the following file: