org.jboss.narayana.blacktie.jatmibroker.xatmi.impl
Class X_OCTET_Impl
java.lang.Object
org.jboss.narayana.blacktie.jatmibroker.xatmi.impl.BufferImpl
org.jboss.narayana.blacktie.jatmibroker.xatmi.impl.X_OCTET_Impl
- All Implemented Interfaces:
- Serializable, Buffer, X_OCTET
public class X_OCTET_Impl
- extends BufferImpl
- implements X_OCTET
The X_OCTET buffer is used to send byte arrays in an XATMI application
- See Also:
- Serialized Form
|
Constructor Summary |
X_OCTET_Impl(String subtype)
The constructor is hidden as it should be created from the Connection factory method. |
|
Method Summary |
byte[] |
getByteArray()
Get the content of the buffer. |
void |
setByteArray(byte[] bytes)
Set the data of the buffer. |
| Methods inherited from class org.jboss.narayana.blacktie.jatmibroker.xatmi.impl.BufferImpl |
clear, deserialize, getAttributeValue, getFormat, getLen, getRawData, getSubtype, getType, serialize, setAttributeValue, setRawData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X_OCTET_Impl
public X_OCTET_Impl(String subtype)
throws ConnectionException,
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
- The constructor is hidden as it should be created from the Connection factory method.
- Parameters:
subtype - Ignored, provided for reflective ease
- Throws:
ConnectionException
org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException
setByteArray
public void setByteArray(byte[] bytes)
- Set the data of the buffer.
- Specified by:
setByteArray in interface X_OCTET
- Parameters:
bytes - The data to set.
getByteArray
public byte[] getByteArray()
- Get the content of the buffer.
- Specified by:
getByteArray in interface X_OCTET
- Returns:
- The content of the buffer.
Copyright © 2013. All Rights Reserved.