org.apache.activemq.command
Class KeepAliveInfo
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.KeepAliveInfo
- All Implemented Interfaces:
- Command, DataStructure
public class KeepAliveInfo
- extends BaseCommand
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
KeepAliveInfo
public KeepAliveInfo()
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
isResponse
public boolean isResponse()
- Specified by:
isResponse
in interface Command
- Overrides:
isResponse
in class BaseCommand
isMessageDispatch
public boolean isMessageDispatch()
- Specified by:
isMessageDispatch
in interface Command
- Overrides:
isMessageDispatch
in class BaseCommand
isMessage
public boolean isMessage()
- Specified by:
isMessage
in interface Command
- Overrides:
isMessage
in class BaseCommand
isMessageAck
public boolean isMessageAck()
- Specified by:
isMessageAck
in interface Command
- Overrides:
isMessageAck
in class BaseCommand
isBrokerInfo
public boolean isBrokerInfo()
- Specified by:
isBrokerInfo
in interface Command
- Overrides:
isBrokerInfo
in class BaseCommand
isWireFormatInfo
public boolean isWireFormatInfo()
- Specified by:
isWireFormatInfo
in interface Command
- Overrides:
isWireFormatInfo
in class BaseCommand
getFrom
public Endpoint getFrom()
- The endpoint within the transport where this message came from.
- Specified by:
getFrom
in interface Command
- Overrides:
getFrom
in class BaseCommand
setFrom
public void setFrom(Endpoint from)
- Specified by:
setFrom
in interface Command
- Overrides:
setFrom
in class BaseCommand
getTo
public Endpoint getTo()
- The endpoint within the transport where this message is going to - null means all endpoints.
- Specified by:
getTo
in interface Command
- Overrides:
getTo
in class BaseCommand
setTo
public void setTo(Endpoint to)
- Specified by:
setTo
in interface Command
- Overrides:
setTo
in class BaseCommand
visit
public Response visit(CommandVisitor visitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
isMarshallAware
public boolean isMarshallAware()
- Specified by:
isMarshallAware
in interface DataStructure
- Overrides:
isMarshallAware
in class BaseCommand
isMessageDispatchNotification
public boolean isMessageDispatchNotification()
- Specified by:
isMessageDispatchNotification
in interface Command
- Overrides:
isMessageDispatchNotification
in class BaseCommand
isShutdownInfo
public boolean isShutdownInfo()
- Specified by:
isShutdownInfo
in interface Command
- Overrides:
isShutdownInfo
in class BaseCommand
toString
public java.lang.String toString()
- Overrides:
toString
in class BaseCommand
Copyright © 2009 Apache Software Foundation. All Rights Reserved.