Agent System POND 1.0 (1.7.2000)

PkgAgentSystem.Messaging
Class AcceptMessage

java.lang.Object
  |
  +--PkgAgentSystem.Messaging.Message
        |
        +--PkgAgentSystem.Messaging.AcceptMessage

public class AcceptMessage
extends Message

A message to signal that an offer, proposal, ... is accepted. It contains no data.

Version:
1.0, 1.7.2000
Author:
Michael Sonntag
See Also:
DeclineMessage, Serialized Form

Fields inherited from class PkgAgentSystem.Messaging.Message
addressee, convTypeID, destConvID, sender, srcConvID
 
Constructor Summary
AcceptMessage(AgentIdentity sender, AgentIdentity addressee, long convTypeID, long srcConvID, long destConvID)
          Creates a new AcceptMessage
AcceptMessage(Message msg)
          Creates a new AcceptMessage
 
Method Summary
 String toString()
          Returns a String representation with the value "Accepting".
 
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

AcceptMessage

public AcceptMessage(AgentIdentity sender,
                     AgentIdentity addressee,
                     long convTypeID,
                     long srcConvID,
                     long destConvID)
Creates a new AcceptMessage
Parameters:
sender - the sender of the message
addressee - the recipient of the message
convTypeID - type of the conversation
srcConvID - identifying number of our conversation
destConvID - identifying number of the remote conversation
See Also:
AgentIdentity, Message

AcceptMessage

public AcceptMessage(Message msg)
Creates a new AcceptMessage
Parameters:
msg - the message whichs offer is accepted
See Also:
Message
Method Detail

toString

public String toString()
Returns a String representation with the value "Accepting".
Returns:
always "Accepting"
Overrides:
toString in class Message

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.