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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLets copy across any transient fields from this command to the complete command when it is unmarshalled on the other endbytevisit(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:
getDataStructureTypein interfaceDataStructure- Overrides:
getDataStructureTypein classPartialCommand- Returns:
- The type of the data structure
-
visit
- Specified by:
visitin interfaceCommand- Overrides:
visitin 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
-