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, toStringpublic static final byte DATA_STRUCTURE_TYPE
public KeepAliveInfo()
public byte getDataStructureType()
public boolean isResponse()
isResponse in interface CommandisResponse in class BaseCommandpublic boolean isMessageDispatch()
isMessageDispatch in interface CommandisMessageDispatch in class BaseCommandpublic boolean isMessage()
isMessage in interface CommandisMessage in class BaseCommandpublic boolean isMessageAck()
isMessageAck in interface CommandisMessageAck in class BaseCommandpublic boolean isBrokerInfo()
isBrokerInfo in interface CommandisBrokerInfo in class BaseCommandpublic boolean isWireFormatInfo()
isWireFormatInfo in interface CommandisWireFormatInfo in class BaseCommandpublic Endpoint getFrom()
getFrom in interface CommandgetFrom in class BaseCommandpublic void setFrom(Endpoint from)
setFrom in interface CommandsetFrom in class BaseCommandpublic Endpoint getTo()
getTo in interface CommandgetTo in class BaseCommandpublic void setTo(Endpoint to)
setTo in interface CommandsetTo in class BaseCommandpublic Response visit(CommandVisitor visitor) throws Exception
Exceptionpublic boolean isMarshallAware()
isMarshallAware in interface DataStructureisMarshallAware in class BaseCommandpublic boolean isMessageDispatchNotification()
isMessageDispatchNotification in interface CommandisMessageDispatchNotification in class BaseCommandpublic boolean isShutdownInfo()
isShutdownInfo in interface CommandisShutdownInfo in class BaseCommandpublic String toString()
toString in class BaseCommandCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.