org.sblim.slp.internal.sa
Class RecieverThread

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

public abstract class RecieverThread
extends Object
implements Runnable

RecieverThread


Field Summary
protected  ServiceAgent iSrvAgent
           
 
Constructor Summary
RecieverThread(String pName, ServiceAgent pSrvAgent)
          Ctor.
 
Method Summary
protected abstract  void close()
           
protected abstract  void init()
           
protected abstract  void mainLoop()
           
 void run()
           
 void start()
          start
 void stop()
          stop
 void stop(boolean pWait)
          stop
 void wait4init()
          wait4init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iSrvAgent

protected ServiceAgent iSrvAgent
Constructor Detail

RecieverThread

public RecieverThread(String pName,
                      ServiceAgent pSrvAgent)
Ctor.

Parameters:
pName -
pSrvAgent -
Method Detail

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 Runnable

init

protected abstract void init()
                      throws ServiceLocationException,
                             IOException
Throws:
ServiceLocationException
IOException

mainLoop

protected abstract void mainLoop()
                          throws IOException
Throws:
IOException

close

protected abstract void close()


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.