Package jadex.bridge.component
Interface IMsgHeader
- 
 public interface IMsgHeaderInterface for message headers with meta information / link-level security.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCONVERSATION_IDMessage header key for conversation IDs (optional).static java.lang.StringRECEIVERMessage header key for the receiver.static java.lang.StringSENDERMessage header key for the sender.static java.lang.StringXIDMessage header key for internal message id (optional).
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProperty(java.lang.String propname, java.lang.Object propval)Adds a header property to the header.java.lang.ObjectgetProperty(java.lang.String propertyname)Gets a property stored in the header.IComponentIdentifiergetReceiver()Gets the receiver of the message.IComponentIdentifiergetSender()Gets the sender of the message.
 
- 
- 
- 
Field Detail- 
SENDERstatic final java.lang.String SENDER Message header key for the sender.- See Also:
- Constant Field Values
 
 - 
RECEIVERstatic final java.lang.String RECEIVER Message header key for the receiver.- See Also:
- Constant Field Values
 
 - 
CONVERSATION_IDstatic final java.lang.String CONVERSATION_ID Message header key for conversation IDs (optional).- See Also:
- Constant Field Values
 
 - 
XIDstatic final java.lang.String XID Message header key for internal message id (optional). Added automatically when monitoring is active on sender side.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getSenderIComponentIdentifier getSender() Gets the sender of the message.- Returns:
- The sender.
 
 - 
getReceiverIComponentIdentifier getReceiver() Gets the receiver of the message.- Returns:
- The receiver.
 
 - 
getPropertyjava.lang.Object getProperty(java.lang.String propertyname) Gets a property stored in the header.- Parameters:
- propertyname-
- Returns:
 
 - 
addPropertyvoid addProperty(java.lang.String propname, java.lang.Object propval)Adds a header property to the header.- Parameters:
- propname- The property name.
- propval- The property value.
 
 
- 
 
-