Package akka.pattern
Interface PromiseRef<T>
-
- All Known Implementing Classes:
AskPromiseRef
,PromiseRefImpl
public interface PromiseRef<T>
ActorRef associated with this PromiseRef.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.concurrent.Future<T>
future()
Future containing the value of the Promise associated with this PromiseRef.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.
-
-
-
Method Detail
-
ref
ActorRef ref()
ActorRef associated with this PromiseRef.- Returns:
- (undocumented)
-
promise
scala.concurrent.Promise<T> promise()
Promise associated with this PromiseRef.- Returns:
- (undocumented)
-
future
scala.concurrent.Future<T> future()
Future containing the value of the Promise associated with this PromiseRef.- Returns:
- (undocumented)
-
-