|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread context.arch.comm.clients.IndependentClient context.arch.comm.clients.DiscovererClient
This class is used by a context component to handle a communication with the discoverer while continuing a communication with another context component.
IndependentClient
,
Discoverer
,
BaseObject
Field Summary | |
protected DataObject |
data
The data to send |
static boolean |
DEBUG
Debug flag |
protected java.lang.String |
method
The method |
protected java.lang.String |
otherParameter
Other parameters |
Fields inherited from class context.arch.comm.clients.IndependentClient |
parent |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
DiscovererClient(BaseObject baseObject,
java.lang.String method,
DataObject data)
The DiscovererClient constructor |
|
DiscovererClient(BaseObject baseObject,
java.lang.String methodToUse,
DataObject dataToSend,
java.lang.String conditionParameter)
The generic DiscovererClient constructor |
Method Summary | |
void |
debugprintln(java.lang.Object s)
Print a message if the DEBUG mode is active |
void |
handleCommunication()
This class overrides the handleCommunication() and process the communication |
Methods inherited from class context.arch.comm.clients.IndependentClient |
run |
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 |
public static boolean DEBUG
protected java.lang.String method
protected DataObject data
protected java.lang.String otherParameter
Constructor Detail |
public DiscovererClient(BaseObject baseObject, java.lang.String methodToUse, DataObject dataToSend, java.lang.String conditionParameter)
baseObject
- The base object owning this DiscovererClient objectmethodToUse
- The method type of the data object to send to the discovererdataToSend
- The data to sendconditionParameter
- Other parameterspublic DiscovererClient(BaseObject baseObject, java.lang.String method, DataObject data)
baseObject
- The base object owning this DiscovererClient objectMethod Detail |
public void handleCommunication()
handleCommunication
in class IndependentClient
public void debugprintln(java.lang.Object s)
s
- Any object, even null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |