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 TypeMethodDescriptionbyte
getFrom()
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.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
toString()
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:
isResponse
in interfaceCommand
- Overrides:
isResponse
in classBaseCommand
-
isMessageDispatch
public boolean isMessageDispatch()- Specified by:
isMessageDispatch
in interfaceCommand
- Overrides:
isMessageDispatch
in classBaseCommand
-
isMessage
public boolean isMessage()- Specified by:
isMessage
in interfaceCommand
- Overrides:
isMessage
in classBaseCommand
-
isMessageAck
public boolean isMessageAck()- Specified by:
isMessageAck
in interfaceCommand
- Overrides:
isMessageAck
in classBaseCommand
-
isBrokerInfo
public boolean isBrokerInfo()- Specified by:
isBrokerInfo
in interfaceCommand
- Overrides:
isBrokerInfo
in classBaseCommand
-
isWireFormatInfo
public boolean isWireFormatInfo()- Specified by:
isWireFormatInfo
in interfaceCommand
- Overrides:
isWireFormatInfo
in classBaseCommand
-
getFrom
The endpoint within the transport where this message came from.- Specified by:
getFrom
in interfaceCommand
- Overrides:
getFrom
in classBaseCommand
-
setFrom
- Specified by:
setFrom
in interfaceCommand
- Overrides:
setFrom
in classBaseCommand
-
getTo
The endpoint within the transport where this message is going to - null means all endpoints.- Specified by:
getTo
in interfaceCommand
- Overrides:
getTo
in classBaseCommand
-
setTo
- Specified by:
setTo
in interfaceCommand
- Overrides:
setTo
in classBaseCommand
-
visit
- Throws:
Exception
-
isMarshallAware
public boolean isMarshallAware()- Specified by:
isMarshallAware
in interfaceDataStructure
- Overrides:
isMarshallAware
in classBaseCommand
-
isMessageDispatchNotification
public boolean isMessageDispatchNotification()- Specified by:
isMessageDispatchNotification
in interfaceCommand
- Overrides:
isMessageDispatchNotification
in classBaseCommand
-
isShutdownInfo
public boolean isShutdownInfo()- Specified by:
isShutdownInfo
in interfaceCommand
- Overrides:
isShutdownInfo
in classBaseCommand
-
toString
- Overrides:
toString
in classBaseCommand
-