|
||||||||||
| 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 exist
void 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 exist
void 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 exist
void 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 exist
void 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 exist
byte getByte(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
short getShort(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
int getInt(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
float getFloat(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
double getDouble(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
void 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 exist
void 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 exist
void 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 exist
void 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 exist
void 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 exist
byte[] getByteArray(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
short[] getShortArray(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
int[] getIntArray(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
float[] getFloatArray(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
double[] getDoubleArray(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
void 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 exist
byte[][] getByteArrayArray(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
void 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 exist
long getLong(String key)
throws JABException
JABException - If the key does not exist or is not of requested type
void 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 exist
long[] 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 | |||||||||