public class PartialCommand extends java.lang.Object implements Command
| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA_STRUCTURE_TYPE |
| Constructor and Description |
|---|
PartialCommand() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCommandId() |
byte[] |
getData()
The data for this part of the command
|
byte |
getDataStructureType() |
boolean |
isBrokerInfo() |
boolean |
isConnectionControl() |
boolean |
isMarshallAware() |
boolean |
isMessage() |
boolean |
isMessageAck() |
boolean |
isMessageDispatch() |
boolean |
isMessageDispatchNotification() |
boolean |
isResponse() |
boolean |
isResponseRequired() |
boolean |
isShutdownInfo() |
boolean |
isWireFormatInfo() |
void |
setCommandId(int commandId) |
void |
setData(byte[] data) |
void |
setResponseRequired(boolean responseRequired) |
java.lang.String |
toString() |
public static final byte DATA_STRUCTURE_TYPE
public byte getDataStructureType()
getDataStructureType in interface DataStructurepublic int getCommandId()
getCommandId in interface Commandpublic void setCommandId(int commandId)
setCommandId in interface Commandpublic byte[] getData()
public void setData(byte[] data)
public boolean isResponseRequired()
isResponseRequired in interface Commandpublic boolean isResponse()
isResponse in interface Commandpublic boolean isBrokerInfo()
isBrokerInfo in interface Commandpublic boolean isMessageDispatch()
isMessageDispatch in interface Commandpublic boolean isMessageAck()
isMessageAck in interface Commandpublic boolean isMessageDispatchNotification()
isMessageDispatchNotification in interface Commandpublic boolean isShutdownInfo()
isShutdownInfo in interface Commandpublic boolean isConnectionControl()
public void setResponseRequired(boolean responseRequired)
setResponseRequired in interface Commandpublic boolean isWireFormatInfo()
isWireFormatInfo in interface Commandpublic boolean isMarshallAware()
isMarshallAware in interface DataStructurepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 Red Hat. All Rights Reserved.