|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Message
The Message represents the means of communication in the RAFStack resource
adaptor defined protocol. It abstracts the underlying protocol information
by wrapping the protocol information into Java objects.
One protocol message of the defined protocl contains two elements:
An identifier (id)
A command string (command)
Message follows the value object pattern and can only be constructed by
a factory object.
| Field Summary | |
|---|---|
static int |
ANY
|
static int |
END
|
static int |
INIT
|
| Method Summary | |
|---|---|
java.lang.String |
getCommand()
Access the message's command string. |
int |
getCommandId()
Access the command string's identifier. |
java.lang.String |
getId()
Access the message's unique identifier. |
| Field Detail |
|---|
static final int INIT
static final int ANY
static final int END
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getCommand()
int getCommandId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||