context.arch.comm.clients
Class IndependentClient

java.lang.Object
  extended byjava.lang.Thread
      extended bycontext.arch.comm.clients.IndependentClient
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
DiscovererClient

public abstract class IndependentClient
extends java.lang.Thread

This class is used by a context component when it needs to communicate with a component while continuing a communication with another one.

Author:
Agathe

Field Summary
protected  BaseObject parent
          The baseobject owning the IndependentClient class
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
IndependentClient(BaseObject baseObject)
          Creates new DiscovererClient
 
Method Summary
protected abstract  void handleCommunication()
          This method is implemented by inheriting class to process communication
 void run()
          The run method called to start the Thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

protected BaseObject parent
The baseobject owning the IndependentClient class

Constructor Detail

IndependentClient

public IndependentClient(BaseObject baseObject)
Creates new DiscovererClient

Parameters:
baseObject - The base object parent
Method Detail

run

public void run()
The run method called to start the Thread


handleCommunication

protected abstract void handleCommunication()
This method is implemented by inheriting class to process communication