public class PromiseRefImpl<T> extends java.lang.Object implements PromiseRef<T>, FutureRef<T>
Constructor and Description |
---|
PromiseRefImpl(ActorRef ref,
scala.concurrent.Promise<T> promise) |
Modifier and Type | Method and Description |
---|---|
scala.concurrent.Promise<T> |
promise()
Promise associated with this PromiseRef.
|
ActorRef |
ref()
ActorRef associated with this PromiseRef.
|
FutureRef<T> |
toFutureRef()
Converts this PromiseRef to FutureRef, effectively narrowing it's API.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
future
public ActorRef ref()
PromiseRef
public scala.concurrent.Promise<T> promise()
PromiseRef
promise
in interface PromiseRef<T>
public FutureRef<T> toFutureRef()
PromiseRef
toFutureRef
in interface PromiseRef<T>