dermi.registry.pastry
Class Registry.NamingCommand

java.lang.Object
  extended by java.lang.Thread
      extended by dermi.registry.pastry.Registry.NamingCommand
All Implemented Interfaces:
java.lang.Runnable, rice.Continuation
Enclosing class:
Registry

protected class Registry.NamingCommand
extends java.lang.Thread
implements rice.Continuation

Common superclass for data reception commands.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Nested classes/interfaces inherited from interface rice.Continuation
rice.Continuation.ErrorContinuation, rice.Continuation.ExternalContinuation, rice.Continuation.ListenerContinuation, rice.Continuation.MultiContinuation, rice.Continuation.NamedContinuation, rice.Continuation.SimpleContinuation, rice.Continuation.StandardContinuation
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected Registry.NamingCommand()
           
 
Method Summary
 void receive(java.lang.Object result)
           
 void receiveException(java.lang.Exception e)
           
 void receiveResult(java.lang.Object result)
           
 
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, run, 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

Registry.NamingCommand

protected Registry.NamingCommand()
Method Detail

receiveResult

public void receiveResult(java.lang.Object result)
Specified by:
receiveResult in interface rice.Continuation

receive

public void receive(java.lang.Object result)
             throws java.lang.Exception
Throws:
java.lang.Exception

receiveException

public void receiveException(java.lang.Exception e)
Specified by:
receiveException in interface rice.Continuation