Class RecieverThread

java.lang.Object
org.sblim.slp.internal.sa.RecieverThread
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
DatagramThread, TCPThread

public abstract class RecieverThread extends java.lang.Object implements java.lang.Runnable
RecieverThread
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ServiceAgent
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecieverThread(java.lang.String pName, ServiceAgent pSrvAgent)
    Ctor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
     
    protected abstract void
     
    protected abstract void
     
    void
    run()
     
    void
    start
    void
    stop
    void
    stop(boolean pWait)
    stop
    void
    wait4init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RecieverThread

      public RecieverThread(java.lang.String pName, ServiceAgent pSrvAgent)
      Ctor.
      Parameters:
      pName -
      pSrvAgent -
  • Method Details

    • start

      public void start()
      start
    • wait4init

      public void wait4init()
      wait4init
    • stop

      public void stop()
      stop
    • stop

      public void stop(boolean pWait)
      stop
      Parameters:
      pWait -
    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable
    • init

      protected abstract void init() throws ServiceLocationException, java.io.IOException
      Throws:
      ServiceLocationException
      java.io.IOException
    • mainLoop

      protected abstract void mainLoop() throws java.io.IOException
      Throws:
      java.io.IOException
    • close

      protected abstract void close()