public class KeepAliveInfo extends BaseCommand
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
commandId, responseRequired
Constructor and Description |
---|
KeepAliveInfo() |
Modifier and Type | Method and Description |
---|---|
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) |
copy, getCommandId, isConnectionControl, isConsumerControl, isResponseRequired, setCommandId, setResponseRequired, toString
public static final byte DATA_STRUCTURE_TYPE
public KeepAliveInfo()
public byte getDataStructureType()
public boolean isResponse()
isResponse
in interface Command
isResponse
in class BaseCommand
public boolean isMessageDispatch()
isMessageDispatch
in interface Command
isMessageDispatch
in class BaseCommand
public boolean isMessage()
isMessage
in interface Command
isMessage
in class BaseCommand
public boolean isMessageAck()
isMessageAck
in interface Command
isMessageAck
in class BaseCommand
public boolean isBrokerInfo()
isBrokerInfo
in interface Command
isBrokerInfo
in class BaseCommand
public boolean isWireFormatInfo()
isWireFormatInfo
in interface Command
isWireFormatInfo
in class BaseCommand
public Endpoint getFrom()
getFrom
in interface Command
getFrom
in class BaseCommand
public void setFrom(Endpoint from)
setFrom
in interface Command
setFrom
in class BaseCommand
public Endpoint getTo()
getTo
in interface Command
getTo
in class BaseCommand
public void setTo(Endpoint to)
setTo
in interface Command
setTo
in class BaseCommand
public Response visit(CommandVisitor visitor) throws Exception
Exception
public boolean isMarshallAware()
isMarshallAware
in interface DataStructure
isMarshallAware
in class BaseCommand
public boolean isMessageDispatchNotification()
isMessageDispatchNotification
in interface Command
isMessageDispatchNotification
in class BaseCommand
public boolean isShutdownInfo()
isShutdownInfo
in interface Command
isShutdownInfo
in class BaseCommand
public String toString()
toString
in class BaseCommand
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.