|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
grinda.client.BlockingOperationManager
public class BlockingOperationManager
Manages the locks due a blocking operation (i.e. take...). This class is the implementation of a stub allowing an external entity to execute its methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
BlockingOperationManager()
Creates a new operation manager |
|
| Method Summary | |
|---|---|
void |
addListener(TupleSpaceOperation op,
Semaphore s)
|
void |
deliver(java.util.List topicPath,
EndpointReferenceType producer,
java.lang.Object message)
This method is called by the service to notify the insertion of a tuple |
java.lang.String |
getAddress()
|
void |
run()
|
void |
setAddress(java.lang.String addr)
|
void |
stopListening()
Blocks this process before exiting |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
| Constructor Detail |
|---|
public BlockingOperationManager()
| Method Detail |
|---|
public void deliver(java.util.List topicPath,
EndpointReferenceType producer,
java.lang.Object message)
n - informations about the insertionpublic java.lang.String getAddress()
public void setAddress(java.lang.String addr)
public void addListener(TupleSpaceOperation op,
Semaphore s)
public void stopListening()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||