Package org.apache.activemq.transport
Class InactivityMonitor
java.lang.Object
org.apache.activemq.transport.TransportFilter
org.apache.activemq.transport.AbstractInactivityMonitor
org.apache.activemq.transport.InactivityMonitor
- All Implemented Interfaces:
Service,Transport,TransportListener
Used to make sure that commands are arriving periodically from the peer of
the transport.
-
Field Summary
Fields inherited from class org.apache.activemq.transport.AbstractInactivityMonitor
wireFormatFields inherited from class org.apache.activemq.transport.TransportFilter
next, transportListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbooleanprotected voidprotected voidvoidsetIgnoreAllWireFormatInfo(boolean ignoreAllWireFormatInfo) voidsetIgnoreRemoteWireFormat(boolean ignoreRemoteWireFormat) voidstart()protected voidMethods inherited from class org.apache.activemq.transport.AbstractInactivityMonitor
getConnectAttemptTimeout, getInitialDelayTime, getReadCheckTime, getWriteCheckTime, isKeepAliveResponseRequired, isMonitorStarted, onCommand, oneway, onException, setConnectAttemptTimeout, setInitialDelayTime, setKeepAliveResponseRequired, setReadCheckTime, setUseKeepAlive, setWriteCheckTime, startConnectCheckTask, startConnectCheckTask, stop, stopConnectCheckTask, stopMonitorThreadsMethods 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 Details
-
InactivityMonitor
-
-
Method Details
-
start
- Specified by:
startin interfaceService- Overrides:
startin classAbstractInactivityMonitor- Throws:
Exception- See Also:
-
processInboundWireFormatInfo
- Specified by:
processInboundWireFormatInfoin classAbstractInactivityMonitor- Throws:
IOException
-
processOutboundWireFormatInfo
- Specified by:
processOutboundWireFormatInfoin classAbstractInactivityMonitor- Throws:
IOException
-
startMonitorThreads
- Overrides:
startMonitorThreadsin classAbstractInactivityMonitor- Throws:
IOException
-
configuredOk
- Specified by:
configuredOkin classAbstractInactivityMonitor- Throws:
IOException
-
isIgnoreAllWireFormatInfo
public boolean isIgnoreAllWireFormatInfo() -
setIgnoreAllWireFormatInfo
public void setIgnoreAllWireFormatInfo(boolean ignoreAllWireFormatInfo) -
isIgnoreRemoteWireFormat
public boolean isIgnoreRemoteWireFormat() -
setIgnoreRemoteWireFormat
public void setIgnoreRemoteWireFormat(boolean ignoreRemoteWireFormat)
-