|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAGMessage
This interface represents a generic SAG message. An external SAG application always uses this message to communicate. It is used for both request and response messages; however, some fields are only appropriate for one type of message. It wraps jni Message object to hide jni from users.
Nested Class Summary | |
---|---|
static interface |
SAGMessage.SAGEnvelope
It is for SAG envelope. |
static interface |
SAGMessage.SAGLetter
It is for SAG letter. |
Method Summary | |
---|---|
SAGMessage.SAGEnvelope |
getEnvelope()
Gets the envelope of the message. |
java.lang.String |
getLetter()
Gets the letter contents of the message. |
java.lang.String |
getSwPrimitiveName()
Gets the name of snl primitive contained in letter. |
void |
setEnvelope(SAGMessage.SAGEnvelope envelope)
Sets the envelope of the message. |
void |
setLetter(java.lang.String buffer)
Sets the letter contents of the message. |
Method Detail |
---|
void setEnvelope(SAGMessage.SAGEnvelope envelope)
envelope
- The envelope object.SAGMessage.SAGEnvelope getEnvelope()
SAGEnvelope
- Returns the envelope object.
void setLetter(java.lang.String buffer)
buffer
- the contents of the letter.java.lang.String getLetter()
String
- Returns the contents of the letter.
java.lang.String getSwPrimitiveName()
String
- Returns the snl primitive name.
|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |