net.sf.asyncobjects
Class When.InternalFinallyListenerAfterFault

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

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

This is an internal class. It listnen for outcome of finnally body and smashes result promise with new or existing problem.


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.