public final class FunctionRef<T> extends WatchableRef<T>
DeathWatchNotification
.
This reference cannot watch other references.Constructor and Description |
---|
FunctionRef(ActorPath _path,
scala.Function2<T,FunctionRef<T>,scala.runtime.BoxedUnit> send,
scala.Function1<FunctionRef<T>,scala.runtime.BoxedUnit> _terminate) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLocal() |
void |
sendSystem(SystemMessage signal) |
void |
tell(T msg) |
void |
terminate()
Callback that is invoked when this ref has terminated.
|
$bang, addWatcher, compareTo, doTerminate, equals, hashCode, isAlive, path, remWatcher, toString, upcast, watchedByOffset
public FunctionRef(ActorPath _path, scala.Function2<T,FunctionRef<T>,scala.runtime.BoxedUnit> send, scala.Function1<FunctionRef<T>,scala.runtime.BoxedUnit> _terminate)
public void tell(T msg)
tell
in class WatchableRef<T>
public void sendSystem(SystemMessage signal)
sendSystem
in interface ActorRefImpl<T>
sendSystem
in class WatchableRef<T>
public boolean isLocal()
isLocal
in interface ActorRefImpl<T>
isLocal
in class WatchableRef<T>
public void terminate()
WatchableRef
terminate
in class WatchableRef<T>