net.sf.asyncobjects
Class When.InternalArgumentListener

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

public final class When.InternalArgumentListener
extends AsyncUnicastServer<AResolver<I>>
implements AResolver<I>

This is an internal class. This resovlers resolve when argument promise or service are resolved.


Method Summary
 void resolve(I 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 final void resolve(I value)
Resolve method

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

smash

public final void smash(Throwable problem)
Smash method

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


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.