org.sblim.slp.internal.sa
Class RecieverThread

java.lang.Object
  extended by 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
protected  ServiceAgent iSrvAgent
           
 
Constructor Summary
RecieverThread(java.lang.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(java.lang.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 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()


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