Package akka.pattern

Class PromiseRefImpl<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      PromiseRefImpl​(ActorRef ref, scala.concurrent.Promise<T> promise)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PromiseRefImpl

        public PromiseRefImpl​(ActorRef ref,
                              scala.concurrent.Promise<T> promise)
    • Method Detail

      • promise

        public scala.concurrent.Promise<T> promise()
        Description copied from interface: PromiseRef
        Promise associated with this PromiseRef.
        Specified by:
        promise in interface PromiseRef<T>
        Returns:
        (undocumented)
      • ref

        public ActorRef ref()
        Description copied from interface: PromiseRef
        ActorRef associated with this PromiseRef.
        Specified by:
        ref in interface FutureRef<T>
        Specified by:
        ref in interface PromiseRef<T>
        Returns:
        (undocumented)
      • toFutureRef

        public FutureRef<T> toFutureRef()
        Description copied from interface: PromiseRef
        Converts this PromiseRef to FutureRef, effectively narrowing it's API.
        Specified by:
        toFutureRef in interface PromiseRef<T>
        Returns:
        (undocumented)