|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
grinda.client.TupleSpaceListenerNotifier
public class TupleSpaceListenerNotifier
Notifies TupleListeners of operations occured on the tuple space
| 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 | |
|---|---|
TupleSpaceListenerNotifier()
|
|
| Method Summary | |
|---|---|
void |
addListener(TupleSpaceOperation op,
TupleSpaceListener l)
Adds a listener interesed in observing the given template |
void |
deliver(java.util.List topicPath,
EndpointReferenceType producer,
java.lang.Object message)
This function is called by the service to notify the operation |
java.lang.String |
getAddress()
|
void |
removeListener(TupleSpaceOperation op,
TupleSpaceListener l)
Removes a listener |
void |
run()
|
void |
setAddress(java.lang.String addr)
|
void |
stopListening()
Stops this thread |
| 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 TupleSpaceListenerNotifier()
| Method Detail |
|---|
public void setAddress(java.lang.String addr)
public java.lang.String getAddress()
public void deliver(java.util.List topicPath,
EndpointReferenceType producer,
java.lang.Object message)
e - informations about the operation
public void addListener(TupleSpaceOperation op,
TupleSpaceListener l)
op - the operation type to observel - the listener
public void removeListener(TupleSpaceOperation op,
TupleSpaceListener l)
op - the operation that has been observedl - the listenerpublic 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 | |||||||||