Package org.apache.activemq.command
Class LastPartialCommand
java.lang.Object
org.apache.activemq.command.PartialCommand
org.apache.activemq.command.LastPartialCommand
- All Implemented Interfaces:
Command
,DataStructure
Represents the end marker of a stream of
PartialCommand
instances.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Lets copy across any transient fields from this command to the complete command when it is unmarshalled on the other endbyte
visit
(CommandVisitor visitor) Methods inherited from class org.apache.activemq.command.PartialCommand
getCommandId, getData, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setData, setFrom, setResponseRequired, setTo, toString
-
Field Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
-
Constructor Details
-
LastPartialCommand
public LastPartialCommand()
-
-
Method Details
-
getDataStructureType
public byte getDataStructureType()- Specified by:
getDataStructureType
in interfaceDataStructure
- Overrides:
getDataStructureType
in classPartialCommand
- Returns:
- The type of the data structure
-
visit
- Specified by:
visit
in interfaceCommand
- Overrides:
visit
in classPartialCommand
- Throws:
Exception
-
configure
Lets copy across any transient fields from this command to the complete command when it is unmarshalled on the other end- Parameters:
completeCommand
- the newly unmarshalled complete command
-