akka.actor

ForwardableChannel

trait ForwardableChannel extends UntypedChannel with AvailableChannel[Any]

A channel which may be forwarded: a message received with such a reply channel attached can be passed on transparently such that a reply from a later processing stage is sent directly back to the origin. Keep in mind that not all channels can be used multiple times.

Linear Supertypes
AvailableChannel[Any], UntypedChannel, Channel[Any], Channel[Any], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ForwardableChannel
  2. AvailableChannel
  3. UntypedChannel
  4. Channel
  5. Channel
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def ! (msg: Any)(implicit sender: UntypedChannel): Unit

    Scala API.

    Scala API.

    Sends the specified message to the channel.

    Attributes
    abstract
    Definition Classes
    Channel
  2. def channel : UntypedChannel

    Get channel by which this channel would reply (used by ActorRef.

    Get channel by which this channel would reply (used by ActorRef.forward)

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def sendException (ex: Throwable): Boolean

    Try to send an exception.

    Try to send an exception. Not all channel types support this, one notable positive example is Future. Failure to send is silent.

    returns

    whether sending was successful

    Definition Classes
    Channel
  18. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  19. def tell (msg: Any, sender: UntypedChannel): Unit

    Java API.

    Java API.

    Sends the specified message to the channel, i.e. fire-and-forget semantics, including the sender reference if possible (not supported on all channels).

    actor.tell(message, context);
    

    Definition Classes
    Channel
  20. def tell (msg: Any): Unit

    Java API.

    Java API.

    Sends the specified message to the channel, i.e. fire-and-forget semantics.

    actor.tell(message);
    

    Definition Classes
    Channel
  21. def toString (): String

    Definition Classes
    AnyRef → Any
  22. def tryTell (msg: Any)(implicit sender: UntypedChannel): Boolean

    Scala and Java API.

    Scala and Java API.

    Try to send the specified message to the channel, i.e. fire-and-forget semantics, including the sender reference if possible (not supported on all channels).

    From Java:

    actor.tryTell(message);
    actor.tryTell(message, context);
    

    From Scala:

    actor tryTell message
    actor.tryTell(message)(sender)
    

    Definition Classes
    Channel
  23. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def sendOneWay (msg: Any, sender: UntypedChannel): Unit

    Java API.

    Java API.

    Sends the specified message to the channel, i.e. fire-and-forget semantics, including the sender reference if possible (not supported on all channels).

    actor.sendOneWay(message, context);
    

    Definition Classes
    Channel
    Annotations
    @deprecated
    Deprecated

    Use 'tell' instead

  2. def sendOneWay (msg: Any): Unit

    Sends the specified message to the channel, i.

    Sends the specified message to the channel, i.e. fire-and-forget semantics.

    actor.sendOneWay(message);
    

    Definition Classes
    Channel
    Annotations
    @deprecated
    Deprecated

    Use 'tell' instead

  3. def sendOneWaySafe (msg: Any, sender: UntypedChannel): Boolean

    Java API.

    Java API.

    Try to send the specified message to the channel, i.e. fire-and-forget semantics, including the sender reference if possible (not supported on all channels).

    actor.sendOneWay(message, context);
    

    Definition Classes
    Channel
    Annotations
    @deprecated
    Deprecated

    Use 'tryTell' instead

  4. def sendOneWaySafe (msg: Any): Boolean

    Java API.

    Java API.

    Try to send the specified message to the channel, i.e. fire-and-forget semantics.

    actor.sendOneWay(message);
    

    Definition Classes
    Channel
    Annotations
    @deprecated
    Deprecated

    Use 'tryTell' instead

Inherited from AvailableChannel[Any]

Inherited from UntypedChannel

Inherited from Channel[Any]

Inherited from Channel[Any]

Inherited from AnyRef

Inherited from Any