public class PartialCommand extends 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) |
String |
toString() |
public static final byte DATA_STRUCTURE_TYPE
public byte getDataStructureType()
getDataStructureType
in interface DataStructure
public int getCommandId()
getCommandId
in interface Command
public void setCommandId(int commandId)
setCommandId
in interface Command
public byte[] getData()
public void setData(byte[] data)
public boolean isResponseRequired()
isResponseRequired
in interface Command
public boolean isResponse()
isResponse
in interface Command
public boolean isBrokerInfo()
isBrokerInfo
in interface Command
public boolean isMessageDispatch()
isMessageDispatch
in interface Command
public boolean isMessageAck()
isMessageAck
in interface Command
public boolean isMessageDispatchNotification()
isMessageDispatchNotification
in interface Command
public boolean isShutdownInfo()
isShutdownInfo
in interface Command
public boolean isConnectionControl()
public void setResponseRequired(boolean responseRequired)
setResponseRequired
in interface Command
public boolean isWireFormatInfo()
isWireFormatInfo
in interface Command
public boolean isMarshallAware()
isMarshallAware
in interface DataStructure
Copyright © 2011–2014 Red Hat. All rights reserved.