org.jboss.narayana.blacktie.jatmibroker.jab
Interface Message

All Known Implementing Classes:
JABMessage

public interface Message

The message interface is a wrapper around input output buffers.

See Also:
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

setByte

void setByte(String key,
             byte data)
             throws JABException
Set part of the content to send. For non-array data types

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setShort

void setShort(String key,
              short data)
              throws JABException
Set part of the content to send. For non-array data types

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setInt

void setInt(String key,
            int data)
            throws JABException
Set part of the content to send. For non-array data types

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setFloat

void setFloat(String key,
              float data)
              throws JABException
Set part of the content to send. For non-array data types

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setDouble

void setDouble(String key,
               double data)
               throws JABException
Set part of the content to send. For non-array data types

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

getByte

byte getByte(String key)
             throws JABException
Get the content of the buffer at this location.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getShort

short getShort(String key)
               throws JABException
Get the content of the buffer at this location.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getInt

int getInt(String key)
           throws JABException
Get the content of the buffer at this location.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getFloat

float getFloat(String key)
               throws JABException
Get the content of the buffer at this location.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getDouble

double getDouble(String key)
                 throws JABException
Get the content of the buffer at this location.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

setByteArray

void setByteArray(String key,
                  byte[] data)
                  throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setShortArray

void setShortArray(String key,
                   short[] data)
                   throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setIntArray

void setIntArray(String key,
                 int[] data)
                 throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setFloatArray

void setFloatArray(String key,
                   float[] data)
                   throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

setDoubleArray

void setDoubleArray(String key,
                    double[] data)
                    throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

getByteArray

byte[] getByteArray(String key)
                    throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getShortArray

short[] getShortArray(String key)
                      throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getIntArray

int[] getIntArray(String key)
                  throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getFloatArray

float[] getFloatArray(String key)
                      throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

getDoubleArray

double[] getDoubleArray(String key)
                        throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

setByteArrayArray

void setByteArrayArray(String key,
                       byte[][] data)
                       throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

getByteArrayArray

byte[][] getByteArrayArray(String key)
                           throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

setLong

void setLong(String key,
             long data)
             throws JABException
Set part of the content to send. For non-array data types

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

getLong

long getLong(String key)
             throws JABException
Get the content of the buffer at this location.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type

setLongArray

void setLongArray(String key,
                  long[] data)
                  throws JABException
Set part of the content to send. For non-array data types,

Parameters:
key - The key of the data
data - The data to send
Throws:
JABException - In case the key is not of required type/does not exist

getLongArray

long[] getLongArray(String key)
                    throws JABException
Get the content of the buffer for this key.

Returns:
The content of the buffer
Throws:
JABException - If the key does not exist or is not of requested type


Copyright © 2011. All Rights Reserved.