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 |
|---|---|
MQTTProtocolConverter |
getProtocolConverter() |
long |
getReadGraceTime() |
long |
getReadKeepAliveTime() |
boolean |
isKeepAliveResponseRequired() |
boolean |
isMonitorStarted() |
void |
onCommand(Object command) |
void |
oneway(Object o) |
void |
onException(IOException error) |
void |
setKeepAliveResponseRequired(boolean value) |
void |
setProtocolConverter(MQTTProtocolConverter protocolConverter) |
void |
setReadGraceTime(long readGraceTime) |
void |
setReadKeepAliveTime(long readKeepAliveTime) |
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 getReadGraceTime()
public void setReadGraceTime(long readGraceTime)
public long getReadKeepAliveTime()
public void setReadKeepAliveTime(long readKeepAliveTime)
public boolean isKeepAliveResponseRequired()
public void setKeepAliveResponseRequired(boolean value)
public boolean isMonitorStarted()
public void setProtocolConverter(MQTTProtocolConverter protocolConverter)
public MQTTProtocolConverter getProtocolConverter()
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.