|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMessage
The IMessage interface introduces the features for a application message.
With the aid of this interface the application is able to set the message content or the message header.
It's also possible to read the content from the message and evaluate it.
| Nested Class Summary | |
|---|---|
static interface |
IMessage.DefaultHeader
|
| Method Summary | |
|---|---|
Object |
getContent()
The getter method for message content. |
String |
getHeader(String key)
The getter method for the given key. |
Enumeration |
getHeaderKeys()
The getter method for all keys which exists in the header. |
void |
setContent(Object content)
The setter method for the header. |
void |
setHeader(String key,
String value)
The setter method for the header. |
| Methods inherited from interface com.github.libxjava.io.ISerialisable |
|---|
deserialise, serialise |
| Method Detail |
|---|
void setHeader(String key,
String value)
key - the key for that header.value - the value for the header.void setContent(Object content)
content - the content for the header.Enumeration getHeaderKeys()
Object getContent()
String getHeader(String key)
key - the key for that header.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||