org.jboss.blacktie.jatmibroker.xatmi
Class X_C_TYPE
java.lang.Object
org.jboss.blacktie.jatmibroker.xatmi.Buffer
org.jboss.blacktie.jatmibroker.xatmi.X_C_TYPE
- All Implemented Interfaces:
- Serializable
public class X_C_TYPE
- extends Buffer
The X_C_TYPE buffer supports the broadest set of parameter types.
- See Also:
- Serialized Form
|
Method Summary |
byte |
getByte(String key)
|
byte[] |
getByteArray(String key)
|
byte[][] |
getByteArrayArray(String key)
|
double |
getDouble(String key)
|
double[] |
getDoubleArray(String key)
|
float |
getFloat(String key)
|
float[] |
getFloatArray(String key)
|
int |
getInt(String key)
|
int[] |
getIntArray(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 |
setByteArrayArray(String key,
byte[][] value)
|
void |
setDouble(String key,
double value)
|
void |
setDoubleArray(String key,
double[] value)
|
void |
setFloat(String key,
float value)
|
void |
setFloatArray(String key,
float[] value)
|
void |
setInt(String key,
int value)
|
void |
setIntArray(String key,
int[] 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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getShort
public 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
public void setShort(String key,
short value)
throws ConnectionException
- Set the short value
- Parameters:
key - The value to setvalue - The value to use
- Throws:
ConnectionException - In case the key is unknown.
getLong
public long getLong(String key)
throws ConnectionException
- Throws:
ConnectionException
setLong
public void setLong(String key,
long value)
throws ConnectionException
- Throws:
ConnectionException
getByte
public byte getByte(String key)
throws ConnectionException
- Throws:
ConnectionException
setByte
public void setByte(String key,
byte value)
throws ConnectionException
- Throws:
ConnectionException
getShortArray
public short[] getShortArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setShortArray
public void setShortArray(String key,
short[] value)
throws ConnectionException
- Throws:
ConnectionException
getLongArray
public long[] getLongArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setLongArray
public void setLongArray(String key,
long[] value)
throws ConnectionException
- Throws:
ConnectionException
getByteArray
public byte[] getByteArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setByteArray
public void setByteArray(String key,
byte[] value)
throws ConnectionException
- Throws:
ConnectionException
getInt
public int getInt(String key)
throws ConnectionException
- Throws:
ConnectionException
setInt
public void setInt(String key,
int value)
throws ConnectionException
- Throws:
ConnectionException
getFloat
public float getFloat(String key)
throws ConnectionException
- Throws:
ConnectionException
setFloat
public void setFloat(String key,
float value)
throws ConnectionException
- Throws:
ConnectionException
getDouble
public double getDouble(String key)
throws ConnectionException
- Throws:
ConnectionException
setDouble
public void setDouble(String key,
double value)
throws ConnectionException
- Throws:
ConnectionException
getIntArray
public int[] getIntArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setIntArray
public void setIntArray(String key,
int[] value)
throws ConnectionException
- Throws:
ConnectionException
getFloatArray
public float[] getFloatArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setFloatArray
public void setFloatArray(String key,
float[] value)
throws ConnectionException
- Throws:
ConnectionException
getDoubleArray
public double[] getDoubleArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setDoubleArray
public void setDoubleArray(String key,
double[] value)
throws ConnectionException
- Throws:
ConnectionException
getByteArrayArray
public byte[][] getByteArrayArray(String key)
throws ConnectionException
- Throws:
ConnectionException
setByteArrayArray
public void setByteArrayArray(String key,
byte[][] value)
throws ConnectionException
- Throws:
ConnectionException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.