|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.narayana.blacktie.jatmibroker.jab.JABMessage
public class JABMessage
The JABRequest class wraps the output parameter to the service.
JABServiceInvoker
Method Summary | |
---|---|
byte |
getByte(String key)
Get the content of the buffer |
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. |
Map<String,Class> |
getMessageFormat()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public byte getByte(String key) throws JABException
getByte
in interface Message
key
- The content of the buffer to set
JABException
- In case the content is malformedpublic byte[] getByteArray(String key) throws JABException
Message
getByteArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic byte[][] getByteArrayArray(String key) throws JABException
Message
getByteArrayArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic double getDouble(String key) throws JABException
Message
getDouble
in interface Message
JABException
- If the key does not exist or is not of requested typepublic double[] getDoubleArray(String key) throws JABException
Message
getDoubleArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic float getFloat(String key) throws JABException
Message
getFloat
in interface Message
JABException
- If the key does not exist or is not of requested typepublic float[] getFloatArray(String key) throws JABException
Message
getFloatArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic int getInt(String key) throws JABException
Message
getInt
in interface Message
JABException
- If the key does not exist or is not of requested typepublic int[] getIntArray(String key) throws JABException
Message
getIntArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic short getShort(String key) throws JABException
Message
getShort
in interface Message
JABException
- If the key does not exist or is not of requested typepublic short[] getShortArray(String key) throws JABException
Message
getShortArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic void setByte(String key, byte data) throws JABException
Message
setByte
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setByteArray(String key, byte[] data) throws JABException
Message
setByteArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setByteArrayArray(String key, byte[][] data) throws JABException
Message
setByteArrayArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setDouble(String key, double data) throws JABException
Message
setDouble
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setDoubleArray(String key, double[] data) throws JABException
Message
setDoubleArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setFloat(String key, float data) throws JABException
Message
setFloat
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setFloatArray(String key, float[] data) throws JABException
Message
setFloatArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setInt(String key, int data) throws JABException
Message
setInt
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setIntArray(String key, int[] data) throws JABException
Message
setIntArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setShort(String key, short data) throws JABException
Message
setShort
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setShortArray(String key, short[] data) throws JABException
Message
setShortArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic Map<String,Class> getMessageFormat()
public long getLong(String key) throws JABException
Message
getLong
in interface Message
JABException
- If the key does not exist or is not of requested typepublic long[] getLongArray(String key) throws JABException
Message
getLongArray
in interface Message
JABException
- If the key does not exist or is not of requested typepublic void setLong(String key, long data) throws JABException
Message
setLong
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not existpublic void setLongArray(String key, long[] data) throws JABException
Message
setLongArray
in interface Message
key
- The key of the datadata
- The data to send
JABException
- In case the key is not of required type/does not exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |