org.apache.activemq.command
Class KeepAliveInfo

java.lang.Object
  extended by org.apache.activemq.command.BaseCommand
      extended by org.apache.activemq.command.KeepAliveInfo
All Implemented Interfaces:
Command, DataStructure

public class KeepAliveInfo
extends BaseCommand


Field Summary
static byte DATA_STRUCTURE_TYPE
           
 
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
 
Constructor Summary
KeepAliveInfo()
           
 
Method Summary
 byte getDataStructureType()
           
 Endpoint getFrom()
          The endpoint within the transport where this message came from.
 Endpoint getTo()
          The endpoint within the transport where this message is going to - null means all endpoints.
 boolean isBrokerInfo()
           
 boolean isMarshallAware()
           
 boolean isMessage()
           
 boolean isMessageAck()
           
 boolean isMessageDispatch()
           
 boolean isMessageDispatchNotification()
           
 boolean isResponse()
           
 boolean isShutdownInfo()
           
 boolean isWireFormatInfo()
           
 void setFrom(Endpoint from)
           
 void setTo(Endpoint to)
           
 String toString()
           
 Response visit(CommandVisitor visitor)
           
 
Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, isConnectionControl, isResponseRequired, setCommandId, setResponseRequired, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_STRUCTURE_TYPE

public static final byte DATA_STRUCTURE_TYPE
See Also:
Constant Field Values
Constructor Detail

KeepAliveInfo

public KeepAliveInfo()
Method Detail

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 Exception
Throws:
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 String toString()
Overrides:
toString in class BaseCommand


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.