net.sf.asyncobjects
Class When.InternalFinallyListenerAfterSuccess

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<AResolver<Object>>
      extended by net.sf.asyncobjects.When.InternalFinallyListenerAfterSuccess
All Implemented Interfaces:
AResolver<Object>, AsyncObject, ExplicitSharing
Enclosing class:
When<I,R>

public final class When.InternalFinallyListenerAfterSuccess
extends AsyncUnicastServer<AResolver<Object>>
implements AResolver<Object>

This is an internal class. Its instance waits for outcome of When.finallyDo() method after body has been completed successfully.


Method Summary
 void resolve(Object value)
          Resolve method
 void smash(Throwable problem)
          Smash method
 
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer
dereference, export, isImmediate, myVat, promise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Method Detail

resolve

public void resolve(Object value)
Resolve method

Specified by:
resolve in interface AResolver<Object>
Parameters:
value - a value it is resolved whith
See Also:
AResolver.resolve(Object)

smash

public void smash(Throwable problem)
Smash method

Specified by:
smash in interface AResolver<Object>
Parameters:
problem - a problem it is smashed with
See Also:
AResolver.smash(Throwable)


Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.