Package org.apache.activemq.transport
Class TransportThreadSupport
- java.lang.Object
-
- org.apache.activemq.util.ServiceSupport
-
- org.apache.activemq.transport.TransportSupport
-
- org.apache.activemq.transport.TransportThreadSupport
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description TransportThreadSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doStart()
long
getStackSize()
boolean
isDaemon()
void
setDaemon(boolean daemon)
void
setStackSize(long stackSize)
-
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 org.apache.activemq.transport.Transport
getPeerCertificates, getReceiveCounter, getRemoteAddress, getWireFormat, oneway, setPeerCertificates
-
-
-
-
Method Detail
-
isDaemon
public boolean isDaemon()
-
setDaemon
public void setDaemon(boolean daemon)
-
doStart
protected void doStart() throws Exception
- Specified by:
doStart
in classServiceSupport
- Throws:
Exception
-
getStackSize
public long getStackSize()
- Returns:
- the stackSize
-
setStackSize
public void setStackSize(long stackSize)
- Parameters:
stackSize
- the stackSize to set
-
-