public class MQTTInactivityMonitor extends TransportFilter
next, transportListener| Constructor and Description |
|---|
MQTTInactivityMonitor(Transport next,
org.apache.activemq.wireformat.WireFormat wireFormat) |
| Modifier and Type | Method and Description |
|---|---|
long |
getInitialDelayTime() |
MQTTProtocolConverter |
getProtocolConverter() |
long |
getReadCheckTime() |
boolean |
isKeepAliveResponseRequired() |
boolean |
isMonitorStarted() |
void |
onCommand(Object command) |
void |
oneway(Object o) |
void |
onException(IOException error) |
void |
setInitialDelayTime(long initialDelayTime) |
void |
setKeepAliveResponseRequired(boolean value) |
void |
setProtocolConverter(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, org.apache.activemq.wireformat.WireFormat wireFormat)
public void start()
throws Exception
start in interface org.apache.activemq.Servicestart in class TransportFilterExceptionpublic void stop()
throws Exception
stop in interface org.apache.activemq.Servicestop in class TransportFilterExceptionpublic void onCommand(Object command)
onCommand in interface TransportListeneronCommand in class TransportFilterpublic void oneway(Object o) throws IOException
oneway in interface Transportoneway in class TransportFilterIOExceptionpublic void onException(IOException error)
onException 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(MQTTProtocolConverter protocolConverter)
public MQTTProtocolConverter getProtocolConverter()
Copyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.