Class 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.
  • Constructor Details

    • TransportThreadSupport

      public TransportThreadSupport()
  • Method Details

    • 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