|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParameterService
The ParameterService interface defines the ParameterService concept. A ParameterService is used to describe the location and type of a piece of data contained within a message. A ParameterService knows how to encode itself into a message, as well as how to extract itself from a message.
Parameter,
MessageService| Field Summary | |
|---|---|
static short |
ARRAY
Define the array (short) constant. |
static short |
ASCII
Define the ASCII parameter type style. |
static short |
ASCIIZ
Define the ASCIIZ (zero terminated) parameter type style. |
static short |
BOOLEAN
Define the boolean parameter type style. |
static short |
BYTE
Define the byte parameter type style. |
static short |
BYTES
Define the byte[] parameter type style. |
static short |
DOUBLE
Define the double parameter type style. |
static short |
FLOAT
Define the float parameter type style. |
static short |
HEXASCII
Define the hex ASCII parameter type style. |
static short |
HEXSTRING
Define the hex string parameter type style. |
static short |
INSERT
Define the insert parameter style. |
static short |
INTEGER
Define the integer parameter type style. |
static short |
LITTLEENDIAN
Define the litte endian parameter style. |
static short |
LONG
Define the long (short) constant. |
static short |
NASCII
Define the numeric ASCII parameter type style. |
static short |
NSTRING
Define the numeric string parameter type style. |
static short |
NULL
Define the null parameter style. |
static short |
SHORT
Define the short parameter type style. |
static short |
STRING
Define the String parameter type style. |
static short |
UNSIGNED
Define the unsigned parameter style. |
| Method Summary | |
|---|---|
java.lang.Object |
decodeValue(MessageService message)
Perform the decodeValue method and return the Object result. |
MessageService |
encodeValue(MessageService message,
java.lang.Object value)
Perform the encodeValue method and return the MessageService result. |
java.lang.String |
getKey()
Return the key of this parameter. |
| Methods inherited from interface org.eclipse.soda.dk.data.parameter.service.DataParameterService |
|---|
decode, encode |
| Field Detail |
|---|
static final short NULL
static final short UNSIGNED
static final short LITTLEENDIAN
static final short INSERT
static final short ARRAY
static final short INTEGER
static final short BYTE
static final short SHORT
static final short BOOLEAN
static final short STRING
static final short BYTES
static final short NSTRING
static final short ASCII
static final short NASCII
static final short ASCIIZ
static final short FLOAT
static final short DOUBLE
static final short HEXSTRING
static final short HEXASCII
static final short LONG
| Method Detail |
|---|
java.lang.Object decodeValue(MessageService message)
Object result.
This API takes a message as a parameter and extracts the appropriate parameter
information from the message, returning it in the appropriate form.
message - org.eclipse.soda.dk.message.service.MessageService
Object) value.encodeValue(MessageService,Object)
MessageService encodeValue(MessageService message,
java.lang.Object value)
MessageService result.
This API takes the value specified in the value parameter, and properly
encodes the value into the message parameter, and returns the encoded MessageService.
message - org.eclipse.soda.dk.message.service.MessageServicevalue - java.lang.Object
MessageService) value.decodeValue(MessageService)java.lang.String getKey()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||