Scala API.
Scala API.
Sends the specified message to the channel.
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
Abstraction for unification of sender and senderFuture for later reply. Can be stored away and used at a later point in time.
The possible reply channel which can be passed into ! and tryTell is always untyped, as there is no way to utilize its real static type without requiring runtime-costly manifests.