Scala API.
Scala API.
Sends the specified message to the channel.
Get channel by which this channel would reply (used by ActorRef.
Get channel by which this channel would reply (used by ActorRef.forward)
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.
whether sending was successful
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);
Java API.
Java API.
Sends the specified message to the channel, i.e. fire-and-forget semantics.
actor.tell(message);
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)
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);
Use 'tell' instead
Sends the specified message to the channel, i.
Sends the specified message to the channel, i.e. fire-and-forget semantics.
actor.sendOneWay(message);
Use 'tell' instead
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);
Use 'tryTell' instead
Java API.
Java API.
Try to send the specified message to the channel, i.e. fire-and-forget semantics.
actor.sendOneWay(message);
Use 'tryTell' instead
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.