|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.standalone.transport.MessageEnvelope
public class MessageEnvelope
The message envelope holding the native message, the receivers and the message type.
| Field Summary | |
|---|---|
protected Map |
message
The message. |
protected String |
message_type
The message type. |
protected Collection |
receivers
The receivers. |
| Constructor Summary | |
|---|---|
MessageEnvelope()
Create a new message envelope. |
|
MessageEnvelope(Map message,
Collection receivers,
String message_type)
Create a new message envelope. |
|
| Method Summary | |
|---|---|
void |
addReceiver(IComponentIdentifier receiver)
Add a receiver. |
Map |
getMessage()
Get native message. |
IComponentIdentifier[] |
getReceivers()
Get the receivers. |
String |
getTypeName()
Get the type (e.g. |
void |
setMessage(Map message)
Set native message. |
void |
setReceivers(IComponentIdentifier[] receivers)
Get the receivers. |
void |
setTypeName(String messagetypename)
Set the type (e.g. |
String |
toString()
Get the string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Map message
protected Collection receivers
protected String message_type
| Constructor Detail |
|---|
public MessageEnvelope()
public MessageEnvelope(Map message,
Collection receivers,
String message_type)
| Method Detail |
|---|
public Map getMessage()
public void setMessage(Map message)
message - The native message.public IComponentIdentifier[] getReceivers()
public void setReceivers(IComponentIdentifier[] receivers)
public void addReceiver(IComponentIdentifier receiver)
public void setTypeName(String messagetypename)
messagetypename - public String getTypeName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||