|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
The message interface is a wrapper around input output buffers.
JABMessage
,
JABServiceInvoker
Method Summary | |
---|---|
byte |
getByte(String key)
Get the content of the buffer at this location. |
byte[] |
getByteArray(String key)
Get the content of the buffer for this key. |
byte[][] |
getByteArrayArray(String key)
Get the content of the buffer for this key. |
double |
getDouble(String key)
Get the content of the buffer at this location. |
double[] |
getDoubleArray(String key)
Get the content of the buffer for this key. |
float |
getFloat(String key)
Get the content of the buffer at this location. |
float[] |
getFloatArray(String key)
Get the content of the buffer for this key. |
int |
getInt(String key)
Get the content of the buffer at this location. |
int[] |
getIntArray(String key)
Get the content of the buffer for this key. |
long |
getLong(String key)
Get the content of the buffer at this location. |
long[] |
getLongArray(String key)
Get the content of the buffer for this key. |
short |
getShort(String key)
Get the content of the buffer at this location. |
short[] |
getShortArray(String key)
Get the content of the buffer for this key. |
void |
setByte(String key,
byte data)
Set part of the content to send. |
void |
setByteArray(String key,
byte[] data)
Set part of the content to send. |
void |
setByteArrayArray(String key,
byte[][] data)
Set part of the content to send. |
void |
setDouble(String key,
double data)
Set part of the content to send. |
void |
setDoubleArray(String key,
double[] data)
Set part of the content to send. |
void |
setFloat(String key,
float data)
Set part of the content to send. |
void |
setFloatArray(String key,
float[] data)
Set part of the content to send. |
void |
setInt(String key,
int data)
Set part of the content to send. |
void |
setIntArray(String key,
int[] data)
Set part of the content to send. |
void |
setLong(String key,
long data)
Set part of the content to send. |
void |
setLongArray(String key,
long[] data)
Set part of the content to send. |
void |
setShort(String key,
short data)
Set part of the content to send. |
void |
setShortArray(String key,
short[] data)
Set part of the content to send. |
Method Detail |
---|
void setByte(String key, byte data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setShort(String key, short data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setInt(String key, int data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setFloat(String key, float data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setDouble(String key, double data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existbyte getByte(String key) throws JABException
JABException
- If the key does not exist or is not of requested typeshort getShort(String key) throws JABException
JABException
- If the key does not exist or is not of requested typeint getInt(String key) throws JABException
JABException
- If the key does not exist or is not of requested typefloat getFloat(String key) throws JABException
JABException
- If the key does not exist or is not of requested typedouble getDouble(String key) throws JABException
JABException
- If the key does not exist or is not of requested typevoid setByteArray(String key, byte[] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setShortArray(String key, short[] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setIntArray(String key, int[] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setFloatArray(String key, float[] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existvoid setDoubleArray(String key, double[] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existbyte[] getByteArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested typeshort[] getShortArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested typeint[] getIntArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested typefloat[] getFloatArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested typedouble[] getDoubleArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested typevoid setByteArrayArray(String key, byte[][] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existbyte[][] getByteArrayArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested typevoid setLong(String key, long data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existlong getLong(String key) throws JABException
JABException
- If the key does not exist or is not of requested typevoid setLongArray(String key, long[] data) throws JABException
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existlong[] getLongArray(String key) throws JABException
JABException
- If the key does not exist or is not of requested type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |