org.jboss.blacktie.jatmibroker.xatmi
Class X_COMMON
java.lang.Object
org.jboss.blacktie.jatmibroker.xatmi.Buffer
org.jboss.blacktie.jatmibroker.xatmi.X_COMMON
- All Implemented Interfaces:
- Serializable
public class 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.
- See Also:
- Serialized Form
| 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
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.