Click or drag to resize
Inboxable Interface
Inboxable is an actor-like object to be listened by external objects. It can watch other actors lifecycle and contains inner actor, which could be passed as reference to other actors.

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public interface Inboxable : ICanWatch

The Inboxable type exposes the following members.

Methods
  NameDescription
Public methodReceive
Receive a next message from current Inboxable with default timeout. This call will return immediately, if the internal actor previously received a message, or will block until it'll receive a message.
Public methodReceive(TimeSpan)
Receive a next message from current Inboxable. This call will return immediately, if the internal actor previously received a message, or will block for time specified by timeout until it'll receive a message.
Public methodReceiveAsync
Public methodReceiveAsync(TimeSpan)
Public methodReceiveWhere(PredicateObject)
Receive a next message satisfying specified predicate under default timeout.
Public methodReceiveWhere(PredicateObject, TimeSpan)
Receive a next message satisfying specified predicate under provided timeout.
Public methodSend
Makes an internal actor act as a proxy of given message, which will be send to given actor. It means, that all target's replies will be sent to current inbox instead.
Public methodUnwatch (Inherited from ICanWatch.)
Public methodWatch (Inherited from ICanWatch.)
Top
Properties
  NameDescription
Public propertyReceiver
Get a reference to internal actor. It may be for example registered in event stream.
Top
See Also