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
 
 public class LastPartialCommand extends PartialCommand Represents the end marker of a stream ofPartialCommandinstances.
- 
- 
Field SummaryFields Modifier and Type Field Description static byteDATA_STRUCTURE_TYPE
 - 
Constructor SummaryConstructors Constructor Description LastPartialCommand()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Command completeCommand)Lets copy across any transient fields from this command to the complete command when it is unmarshalled on the other endbytegetDataStructureType()Responsevisit(CommandVisitor visitor)- 
Methods inherited from class org.apache.activemq.command.PartialCommandgetCommandId, getData, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setData, setFrom, setResponseRequired, setTo, toString
 
- 
 
- 
- 
- 
Field Detail- 
DATA_STRUCTURE_TYPEpublic static final byte DATA_STRUCTURE_TYPE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDataStructureTypepublic byte getDataStructureType() - Specified by:
- getDataStructureTypein interface- DataStructure
- Overrides:
- getDataStructureTypein class- PartialCommand
- Returns:
- The type of the data structure
 
 - 
visitpublic Response visit(CommandVisitor visitor) throws Exception - Specified by:
- visitin interface- Command
- Overrides:
- visitin class- PartialCommand
- Throws:
- Exception
 
 - 
configurepublic void configure(Command completeCommand) 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
 
 
- 
 
-