org.apache.activemq.transport.stomp
Class StompInactivityMonitor
java.lang.Object
org.apache.activemq.transport.TransportFilter
org.apache.activemq.transport.AbstractInactivityMonitor
org.apache.activemq.transport.stomp.StompInactivityMonitor
- All Implemented Interfaces:
- Service, Transport, TransportListener
public class StompInactivityMonitor
- extends AbstractInactivityMonitor
Used to make sure that commands are arriving periodically from the peer of
the transport.
| Methods inherited from class org.apache.activemq.transport.AbstractInactivityMonitor |
getInitialDelayTime, getReadCheckTime, getWriteCheckTime, isKeepAliveResponseRequired, isMonitorStarted, onCommand, oneway, onException, setInitialDelayTime, setKeepAliveResponseRequired, setReadCheckTime, setUseKeepAlive, setWriteCheckTime, start, startMonitorThreads, stop, stopMonitorThreads |
| Methods inherited from class org.apache.activemq.transport.TransportFilter |
asyncRequest, getNext, getReceiveCounter, getRemoteAddress, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, reconnect, request, request, setTransportListener, toString, transportInterupted, transportResumed, updateURIs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StompInactivityMonitor
public StompInactivityMonitor(Transport next,
WireFormat wireFormat)
startMonitoring
public void startMonitoring()
throws java.io.IOException
- Throws:
java.io.IOException
processInboundWireFormatInfo
protected void processInboundWireFormatInfo(WireFormatInfo info)
throws java.io.IOException
- Specified by:
processInboundWireFormatInfo in class AbstractInactivityMonitor
- Throws:
java.io.IOException
processOutboundWireFormatInfo
protected void processOutboundWireFormatInfo(WireFormatInfo info)
throws java.io.IOException
- Specified by:
processOutboundWireFormatInfo in class AbstractInactivityMonitor
- Throws:
java.io.IOException
configuredOk
protected boolean configuredOk()
throws java.io.IOException
- Specified by:
configuredOk in class AbstractInactivityMonitor
- Throws:
java.io.IOException
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.