|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bounce.message.Message
public class Message
Representation of a message.
| Constructor Summary | |
|---|---|
Message()
Constructor for the message. |
|
Message(java.lang.Object content)
Constructor for the message. |
|
| Method Summary | |
|---|---|
void |
consume()
Consume the message. |
java.lang.Object |
getContent()
Returns the message. |
boolean |
isConsumed()
Check if the message has been consumed. |
void |
send()
Send the message. |
void |
setContent(java.lang.Object content)
Sets the content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
public Message(java.lang.Object content)
content - the message's content to be sent.| Method Detail |
|---|
public void setContent(java.lang.Object content)
content - the message content.public java.lang.Object getContent()
public void consume()
public boolean isConsumed()
public void send()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||