net.sf.asyncobjects
Class Promise.InternalPromiseResolverImpl
java.lang.Object
  
net.sf.asyncobjects.AsyncUnicastServer<AResolver<T>>
      
net.sf.asyncobjects.Promise.InternalPromiseResolverImpl
- All Implemented Interfaces: 
 - AResolver<T>, AsyncObject, ExplicitSharing
 
- Enclosing class:
 - Promise<T>
 
public final class Promise.InternalPromiseResolverImpl
- extends AsyncUnicastServer<AResolver<T>>
- implements AResolver<T>
  
This is an internal class. Implementation of resolver for promise
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
smash
public void smash(Throwable ex)
- break promise with exception
- Specified by:
 smash in interface AResolver<T>
 
- Parameters:
 ex - exeption that represent problem
 
 
resolve
public void resolve(T o)
- resolve promise
- Specified by:
 resolve in interface AResolver<T>
 
- Parameters:
 o - value to resolve to
 
 
Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.