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 of PartialCommand
instances.
- Version:
- $Revision: 426366 $
Methods inherited from class org.apache.activemq.command.PartialCommand |
getCommandId, getData, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setData, setFrom, setResponseRequired, setTo, toString |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
LastPartialCommand
public LastPartialCommand()
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interface DataStructure
- Overrides:
getDataStructureType
in class PartialCommand
- Returns:
- The type of the data structure
visit
public Response visit(CommandVisitor visitor)
throws Exception
- Specified by:
visit
in interface Command
- Overrides:
visit
in class PartialCommand
- Throws:
Exception
configure
public 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
Copyright © 2011 Apache Software Foundation. All Rights Reserved.