marketplace
Class BuySellMessage
java.lang.Object
|
+--marketplace.BuySellMessage
- public class BuySellMessage
- extends java.lang.Object
The BuySellMessage
class implements a KQML-like message for
the agents in the marketplace application.
Constructor Summary |
(package private) |
BuySellMessage(java.lang.String Performative,
java.lang.String Content,
java.lang.String InReplyTo,
java.lang.String Receiver,
java.lang.String ReplyWith,
java.lang.String Sender)
Creates a BuySellMessage object with the given parameters. |
(package private) |
BuySellMessage(java.lang.String Performative,
java.lang.String Content,
java.lang.String InReplyTo,
java.lang.String Language,
java.lang.String Ontology,
java.lang.String Receiver,
java.lang.String ReplyWith,
java.lang.String Sender)
Creates a BuySellMessage object with the given parameters. |
Method Summary |
void |
display()
Displays the information contained in the message. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
performative
protected java.lang.String performative
content
protected java.lang.String content
inReplyTo
protected java.lang.String inReplyTo
language
protected java.lang.String language
ontology
protected java.lang.String ontology
receiver
protected java.lang.String receiver
replyWith
protected java.lang.String replyWith
sender
protected java.lang.String sender
BuySellMessage
BuySellMessage(java.lang.String Performative,
java.lang.String Content,
java.lang.String InReplyTo,
java.lang.String Language,
java.lang.String Ontology,
java.lang.String Receiver,
java.lang.String ReplyWith,
java.lang.String Sender)
- Creates a
BuySellMessage
object with the given parameters.
- Parameters:
Performative
- the String object for the performativeContent
- the String object for the contentInReplyTo
- the String object used when replyingLanguage
- the String object for the language used in the messagesOntology
- the String object for the ontology used in the messagesReceiver
- the String object that represents the receiverReplyWith
- the String object used when replyingSender
- the String object that represents the sender
BuySellMessage
BuySellMessage(java.lang.String Performative,
java.lang.String Content,
java.lang.String InReplyTo,
java.lang.String Receiver,
java.lang.String ReplyWith,
java.lang.String Sender)
- Creates a
BuySellMessage
object with the given parameters.
- Parameters:
Performative
- the String object for the performativeContent
- the String object for the contentInReplyTo
- the String object used when replyingReceiver
- the String object that represents the receiverReplyWith
- the String object used when replyingSender
- the String object that represents the sender
display
public void display()
- Displays the information contained in the message.