public class X_COMMON_Impl extends BufferImpl implements X_COMMON
BYTE_SIZE, DOUBLE_SIZE, FLOAT_SIZE, INT_SIZE, len, LONG_SIZE, SHORT_SIZE| Constructor and Description |
|---|
X_COMMON_Impl(String subtype)
The constructor is hidden as a
Connection should be used to allocate the object. |
| Modifier and Type | Method and Description |
|---|---|
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) |
clear, deserialize, getAttributeValue, getFormat, getLen, getRawData, getSubtype, getType, serialize, setAttributeValue, setRawDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLen, getSubtype, getTypepublic X_COMMON_Impl(String subtype) throws ConnectionException, org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
Connection should be used to allocate the object. ConnectionImpl#tpalloc(String, String)subtype - The subtype of the buffer, must be registered in the configurationConnectionException - In case the buffer cannot be created.org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationExceptionpublic short getShort(String key) throws ConnectionException
getShort in interface X_COMMONkey - The key to useConnectionException - In case the key is not part of the structure.public void setShort(String key, short value) throws ConnectionException
setShort in interface X_COMMONkey - The value to setvalue - The value to useConnectionException - In case the key is unknown.public long getLong(String key) throws ConnectionException
getLong in interface X_COMMONConnectionExceptionpublic void setLong(String key, long value) throws ConnectionException
setLong in interface X_COMMONConnectionExceptionpublic byte getByte(String key) throws ConnectionException
getByte in interface X_COMMONConnectionExceptionpublic void setByte(String key, byte value) throws ConnectionException
setByte in interface X_COMMONConnectionExceptionpublic short[] getShortArray(String key) throws ConnectionException
getShortArray in interface X_COMMONConnectionExceptionpublic void setShortArray(String key, short[] value) throws ConnectionException
setShortArray in interface X_COMMONConnectionExceptionpublic long[] getLongArray(String key) throws ConnectionException
getLongArray in interface X_COMMONConnectionExceptionpublic void setLongArray(String key, long[] value) throws ConnectionException
setLongArray in interface X_COMMONConnectionExceptionpublic byte[] getByteArray(String key) throws ConnectionException
getByteArray in interface X_COMMONConnectionExceptionpublic void setByteArray(String key, byte[] value) throws ConnectionException
setByteArray in interface X_COMMONConnectionExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.