Class HttpInactivityMonitor
- java.lang.Object
-
- org.apache.activemq.transport.TransportFilter
-
- org.apache.activemq.transport.AbstractInactivityMonitor
-
- org.apache.activemq.transport.InactivityMonitor
-
- org.apache.activemq.transport.http.HttpInactivityMonitor
-
- All Implemented Interfaces:
Service
,Transport
,TransportListener
public class HttpInactivityMonitor extends InactivityMonitor
Inactivity Monitor specialization for use with HTTP based transports.
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.transport.AbstractInactivityMonitor
wireFormat
-
Fields inherited from class org.apache.activemq.transport.TransportFilter
next, transportListener
-
-
Constructor Summary
Constructors Constructor Description HttpInactivityMonitor(Transport next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCommand(Object command)
called to process a command-
Methods inherited from class org.apache.activemq.transport.InactivityMonitor
configuredOk, isIgnoreAllWireFormatInfo, isIgnoreRemoteWireFormat, processInboundWireFormatInfo, processOutboundWireFormatInfo, setIgnoreAllWireFormatInfo, setIgnoreRemoteWireFormat, start, startMonitorThreads
-
Methods inherited from class org.apache.activemq.transport.AbstractInactivityMonitor
getConnectAttemptTimeout, getInitialDelayTime, getReadCheckTime, getWriteCheckTime, isKeepAliveResponseRequired, isMonitorStarted, oneway, onException, setConnectAttemptTimeout, setInitialDelayTime, setKeepAliveResponseRequired, setReadCheckTime, setUseKeepAlive, setWriteCheckTime, startConnectCheckTask, startConnectCheckTask, stop, stopConnectCheckTask, stopMonitorThreads
-
Methods inherited from class org.apache.activemq.transport.TransportFilter
asyncRequest, getNext, getPeerCertificates, getReceiveCounter, getRemoteAddress, getTransportListener, getWireFormat, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, reconnect, request, request, setPeerCertificates, setTransportListener, toString, transportInterupted, transportResumed, updateURIs
-
-
-
-
Constructor Detail
-
HttpInactivityMonitor
public HttpInactivityMonitor(Transport next)
- Parameters:
next
- The next Transport in the filter chain.
-
-
Method Detail
-
onCommand
public void onCommand(Object command)
Description copied from interface:TransportListener
called to process a command- Specified by:
onCommand
in interfaceTransportListener
- Overrides:
onCommand
in classAbstractInactivityMonitor
-
-