Package org.apache.activemq.command
Class KeepAliveInfo
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.KeepAliveInfo
- All Implemented Interfaces:
Command,DataStructure
-
Field Summary
FieldsFields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytegetFrom()The endpoint within the transport where this message came from.getTo()The endpoint within the transport where this message is going to - null means all endpoints.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidtoString()visit(CommandVisitor visitor) Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, isConnectionControl, isConsumerControl, isResponseRequired, setCommandId, setResponseRequired, toString
-
Field Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
-
Constructor Details
-
KeepAliveInfo
public KeepAliveInfo()
-
-
Method Details
-
getDataStructureType
public byte getDataStructureType()- Returns:
- The type of the data structure
-
isResponse
public boolean isResponse()- Specified by:
isResponsein interfaceCommand- Overrides:
isResponsein classBaseCommand
-
isMessageDispatch
public boolean isMessageDispatch()- Specified by:
isMessageDispatchin interfaceCommand- Overrides:
isMessageDispatchin classBaseCommand
-
isMessage
public boolean isMessage()- Specified by:
isMessagein interfaceCommand- Overrides:
isMessagein classBaseCommand
-
isMessageAck
public boolean isMessageAck()- Specified by:
isMessageAckin interfaceCommand- Overrides:
isMessageAckin classBaseCommand
-
isBrokerInfo
public boolean isBrokerInfo()- Specified by:
isBrokerInfoin interfaceCommand- Overrides:
isBrokerInfoin classBaseCommand
-
isWireFormatInfo
public boolean isWireFormatInfo()- Specified by:
isWireFormatInfoin interfaceCommand- Overrides:
isWireFormatInfoin classBaseCommand
-
getFrom
The endpoint within the transport where this message came from.- Specified by:
getFromin interfaceCommand- Overrides:
getFromin classBaseCommand
-
setFrom
- Specified by:
setFromin interfaceCommand- Overrides:
setFromin classBaseCommand
-
getTo
The endpoint within the transport where this message is going to - null means all endpoints.- Specified by:
getToin interfaceCommand- Overrides:
getToin classBaseCommand
-
setTo
- Specified by:
setToin interfaceCommand- Overrides:
setToin classBaseCommand
-
visit
- Throws:
Exception
-
isMarshallAware
public boolean isMarshallAware()- Specified by:
isMarshallAwarein interfaceDataStructure- Overrides:
isMarshallAwarein classBaseCommand
-
isMessageDispatchNotification
public boolean isMessageDispatchNotification()- Specified by:
isMessageDispatchNotificationin interfaceCommand- Overrides:
isMessageDispatchNotificationin classBaseCommand
-
isShutdownInfo
public boolean isShutdownInfo()- Specified by:
isShutdownInfoin interfaceCommand- Overrides:
isShutdownInfoin classBaseCommand
-
toString
- Overrides:
toStringin classBaseCommand
-