Sends msg
to this channel (asynchronous).
Sends msg
to this channel (asynchronous).
the message to send
Sends msg
to this channel and immediately returns a future representing
the reply value.
Sends msg
to this channel and immediately returns a future representing
the reply value.
Sends msg
to this channel and immediately returns a future representing
the reply value. The reply is post-processed using the partial function
handler
. This also allows to recover a more precise type for the reply
value.
the message to be sent
the function to be applied to the response
the future
Sends msg
to this channel and awaits reply (synchronous) within
msec
milliseconds.
Sends msg
to this channel and awaits reply (synchronous).
Receives the next message from this channel.
Receives the next message from this channel.
Forwards msg
to this channel (asynchronous).
Forwards msg
to this channel (asynchronous).
the message to forward
Receives a message from this channel.
Receives a message from this channel.
This method never returns. Therefore, the rest of the computation has to be contained in the actions of the partial function.
a partial function with message patterns and actions
Receives a message from this channel within a certain time span.
Receives a message from this channel within a certain time span.
This method never returns. Therefore, the rest of the computation has to be contained in the actions of the partial function.
the time span before timeout
a partial function with message patterns and actions
Receives a message from this channel.
Receives a message from this channel.
a partial function with message patterns and actions
result of processing the received value
Receives a message from this channel within a certain time span.
Receives a message from this channel within a certain time span.
the time span before timeout
a partial function with message patterns and actions
result of processing the received value
Returns the Actor
that is receiving from this channel.
Returns the Actor
that is receiving from this channel.
Sends msg
to this channel (asynchronous) supplying
explicit reply destination.
Sends msg
to this channel (asynchronous) supplying
explicit reply destination.
the message to send
the reply destination
Provides a means for typed communication among actors. Only the actor creating an instance of a
Channel
may receive from it.(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.