Agent System POND 1.2 (28.2.2002)

PkgAgentSystem.Messaging
Class RejectMessage

java.lang.Object
  |
  +--PkgAgentSystem.Messaging.Message
        |
        +--PkgAgentSystem.Messaging.RejectMessage
All Implemented Interfaces:
Cloneable, MessageType, Serializable

public class RejectMessage
extends Message

A message to signal that an offer, proposal, ... is rejected. Difference to DeclineMessage: Reject is more forceful, indicating some form of distrust. E. g. Use decline when not able to do something or just not want and reject, if authentication failed. It contains no data.

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

Constructor Summary
RejectMessage()
          Creates a new RejectMessage
RejectMessage(MessageType msg)
          Creates a new RejectMessage
 
Method Summary
 String toString()
          Returns a String representation with the value "Rejected".
 
Methods inherited from class PkgAgentSystem.Messaging.Message
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
 

Constructor Detail

RejectMessage

public RejectMessage()
Creates a new RejectMessage
See Also:
AgentIdentity, Message

RejectMessage

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

toString

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

Agent System POND 1.2 (28.2.2002)

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.