|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.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 Messagekey - The content of the buffer to set
JABException - In case the content is malformed
public byte[] getByteArray(String key)
throws JABException
Message
getByteArray in interface MessageJABException - If the key does not exist or is not of requested type
public byte[][] getByteArrayArray(String key)
throws JABException
Message
getByteArrayArray in interface MessageJABException - If the key does not exist or is not of requested type
public double getDouble(String key)
throws JABException
Message
getDouble in interface MessageJABException - If the key does not exist or is not of requested type
public double[] getDoubleArray(String key)
throws JABException
Message
getDoubleArray in interface MessageJABException - If the key does not exist or is not of requested type
public float getFloat(String key)
throws JABException
Message
getFloat in interface MessageJABException - If the key does not exist or is not of requested type
public float[] getFloatArray(String key)
throws JABException
Message
getFloatArray in interface MessageJABException - If the key does not exist or is not of requested type
public int getInt(String key)
throws JABException
Message
getInt in interface MessageJABException - If the key does not exist or is not of requested type
public int[] getIntArray(String key)
throws JABException
Message
getIntArray in interface MessageJABException - If the key does not exist or is not of requested type
public short getShort(String key)
throws JABException
Message
getShort in interface MessageJABException - If the key does not exist or is not of requested type
public short[] getShortArray(String key)
throws JABException
Message
getShortArray in interface MessageJABException - If the key does not exist or is not of requested type
public void setByte(String key,
byte data)
throws JABException
Message
setByte in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setByteArray(String key,
byte[] data)
throws JABException
Message
setByteArray in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setByteArrayArray(String key,
byte[][] data)
throws JABException
Message
setByteArrayArray in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setDouble(String key,
double data)
throws JABException
Message
setDouble in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setDoubleArray(String key,
double[] data)
throws JABException
Message
setDoubleArray in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setFloat(String key,
float data)
throws JABException
Message
setFloat in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setFloatArray(String key,
float[] data)
throws JABException
Message
setFloatArray in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setInt(String key,
int data)
throws JABException
Message
setInt in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setIntArray(String key,
int[] data)
throws JABException
Message
setIntArray in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setShort(String key,
short data)
throws JABException
Message
setShort in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setShortArray(String key,
short[] data)
throws JABException
Message
setShortArray in interface Messagekey - 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 MessageJABException - If the key does not exist or is not of requested type
public long[] getLongArray(String key)
throws JABException
Message
getLongArray in interface MessageJABException - If the key does not exist or is not of requested type
public void setLong(String key,
long data)
throws JABException
Message
setLong in interface Messagekey - The key of the datadata - The data to send
JABException - In case the key is not of required type/does not exist
public void setLongArray(String key,
long[] data)
throws JABException
Message
setLongArray in interface Messagekey - 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 | |||||||||