public class MQTTInactivityMonitor extends TransportFilter
next, transportListener| Constructor and Description |
|---|
MQTTInactivityMonitor(Transport next,
WireFormat wireFormat) |
| Modifier and Type | Method and Description |
|---|---|
long |
getInitialDelayTime() |
org.apache.activemq.transport.mqtt.MQTTProtocolConverter |
getProtocolConverter() |
long |
getReadCheckTime() |
boolean |
isKeepAliveResponseRequired() |
boolean |
isMonitorStarted() |
void |
onCommand(java.lang.Object command)
called to process a command
|
void |
oneway(java.lang.Object o)
A one way asynchronous send
|
void |
onException(java.io.IOException error)
An unrecoverable exception has occured on the transport
|
void |
setInitialDelayTime(long initialDelayTime) |
void |
setKeepAliveResponseRequired(boolean value) |
void |
setProtocolConverter(org.apache.activemq.transport.mqtt.MQTTProtocolConverter protocolConverter) |
void |
setReadCheckTime(long readCheckTime) |
void |
start() |
void |
stop() |
asyncRequest, getNext, getReceiveCounter, getRemoteAddress, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, reconnect, request, request, setTransportListener, toString, transportInterupted, transportResumed, updateURIspublic MQTTInactivityMonitor(Transport next, WireFormat wireFormat)
public void start() throws java.lang.Exception
start in interface Servicestart in class TransportFilterjava.lang.ExceptionService.start()public void stop() throws java.lang.Exception
stop in interface Servicestop in class TransportFilterjava.lang.ExceptionService.stop()public void onCommand(java.lang.Object command)
TransportListeneronCommand in interface TransportListeneronCommand in class TransportFilterpublic void oneway(java.lang.Object o) throws java.io.IOException
Transportoneway in interface Transportoneway in class TransportFilterjava.io.IOExceptionpublic void onException(java.io.IOException error)
TransportListeneronException in interface TransportListeneronException in class TransportFilterpublic long getReadCheckTime()
public void setReadCheckTime(long readCheckTime)
public long getInitialDelayTime()
public void setInitialDelayTime(long initialDelayTime)
public boolean isKeepAliveResponseRequired()
public void setKeepAliveResponseRequired(boolean value)
public boolean isMonitorStarted()
public void setProtocolConverter(org.apache.activemq.transport.mqtt.MQTTProtocolConverter protocolConverter)
public org.apache.activemq.transport.mqtt.MQTTProtocolConverter getProtocolConverter()
Copyright © 2005-2012. All Rights Reserved.