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:
- HttpTransportSupport, TcpTransport, UdpTransport
public abstract class TransportThreadSupport
- extends TransportSupport
- implements Runnable
A useful base class for a transport implementation which has a background
reading thread.
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.activemq.transport.TransportSupport |
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, narrow, onException, reconnect, request, request, setTransportListener |
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-2011 Apache Software Foundation. All Rights Reserved.