org.jboss.narayana.blacktie.jatmibroker.xatmi
Interface X_COMMON

All Superinterfaces:
Buffer, Serializable
All Known Implementing Classes:
X_COMMON_Impl

public interface X_COMMON
extends Buffer

The X_COMMON buffer type supports a subset of the types provided by the X_C_TYPE buffer in order to support more language portable data exchange.


Method Summary
 byte getByte(String key)
           
 byte[] getByteArray(String key)
           
 long getLong(String key)
           
 long[] getLongArray(String key)
           
 short getShort(String key)
          Get the short value identified by the key.
 short[] getShortArray(String key)
           
 void setByte(String key, byte value)
           
 void setByteArray(String key, byte[] value)
           
 void setLong(String key, long value)
           
 void setLongArray(String key, long[] value)
           
 void setShort(String key, short value)
          Set the short value
 void setShortArray(String key, short[] value)
           
 
Methods inherited from interface org.jboss.narayana.blacktie.jatmibroker.xatmi.Buffer
getLen, getSubtype, getType
 

Method Detail

getShort

short getShort(String key)
               throws ConnectionException
Get the short value identified by the key.

Parameters:
key - The key to use
Returns:
The short value
Throws:
ConnectionException - In case the key is not part of the structure.

setShort

void setShort(String key,
              short value)
              throws ConnectionException
Set the short value

Parameters:
key - The value to set
value - The value to use
Throws:
ConnectionException - In case the key is unknown.

getLong

long getLong(String key)
             throws ConnectionException
Throws:
ConnectionException

setLong

void setLong(String key,
             long value)
             throws ConnectionException
Throws:
ConnectionException

getByte

byte getByte(String key)
             throws ConnectionException
Throws:
ConnectionException

setByte

void setByte(String key,
             byte value)
             throws ConnectionException
Throws:
ConnectionException

getShortArray

short[] getShortArray(String key)
                      throws ConnectionException
Throws:
ConnectionException

setShortArray

void setShortArray(String key,
                   short[] value)
                   throws ConnectionException
Throws:
ConnectionException

getLongArray

long[] getLongArray(String key)
                    throws ConnectionException
Throws:
ConnectionException

setLongArray

void setLongArray(String key,
                  long[] value)
                  throws ConnectionException
Throws:
ConnectionException

getByteArray

byte[] getByteArray(String key)
                    throws ConnectionException
Throws:
ConnectionException

setByteArray

void setByteArray(String key,
                  byte[] value)
                  throws ConnectionException
Throws:
ConnectionException


Copyright © 2013. All Rights Reserved.