org.apache.activemq.transport
Class TransportThreadSupport
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportSupport
org.apache.activemq.transport.TransportThreadSupport
- All Implemented Interfaces:
- Runnable, Service, Transport
- Direct Known Subclasses:
- TcpTransport, UdpTransport
public abstract class TransportThreadSupport
- extends TransportSupport
- implements Runnable
A useful base class for a transport implementation which has a background
reading thread.
| Methods inherited from class org.apache.activemq.transport.TransportSupport |
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onException, reconnect, request, request, setTransportListener, updateURIs |
| Methods inherited from class org.apache.activemq.util.ServiceSupport |
addServiceListener, dispose, doStop, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
TransportThreadSupport
public TransportThreadSupport()
isDaemon
public boolean isDaemon()
setDaemon
public void setDaemon(boolean daemon)
doStart
protected void doStart()
throws Exception
- Specified by:
doStart in class ServiceSupport
- Throws:
Exception
getStackSize
public long getStackSize()
- Returns:
- the stackSize
setStackSize
public void setStackSize(long stackSize)
- Parameters:
stackSize - the stackSize to set
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.