|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.blacktie.jatmibroker.xatmi.Buffer
public abstract class Buffer
This class encapsulates the response from the remote service and the return code
Field Summary | |
---|---|
static int |
BYTE_SIZE
The agreed size of a byte. |
static int |
DOUBLE_SIZE
The agreed size of a double. |
static int |
FLOAT_SIZE
The agreed size of a float. |
static int |
INT_SIZE
The agreed size of a int. |
static int |
LONG_SIZE
The agreed size of a long. |
static int |
SHORT_SIZE
The agreed size of a short. |
Method Summary | |
---|---|
void |
clear()
Clear the content of the buffer |
protected java.lang.Object |
getAttributeValue(java.lang.String key,
java.lang.Class type)
|
java.util.Map<java.lang.String,java.lang.Class> |
getFormat()
|
protected byte[] |
getRawData()
|
java.lang.String |
getSubtype()
Get the subtype |
java.lang.String |
getType()
Get the type |
protected void |
setAttributeValue(java.lang.String key,
java.lang.Class type,
java.lang.Object value)
|
protected void |
setRawData(byte[] bytes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BYTE_SIZE
public static final int LONG_SIZE
public static final int INT_SIZE
public static final int SHORT_SIZE
public static final int FLOAT_SIZE
public static final int DOUBLE_SIZE
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.Class> getFormat()
public java.lang.String getType()
public java.lang.String getSubtype()
public void clear()
protected java.lang.Object getAttributeValue(java.lang.String key, java.lang.Class type) throws ConnectionException
ConnectionException
protected void setAttributeValue(java.lang.String key, java.lang.Class type, java.lang.Object value) throws ConnectionException
ConnectionException
protected void setRawData(byte[] bytes)
protected byte[] getRawData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |