Package akka.actor
Class VirtualPathContainer
- java.lang.Object
-
- akka.actor.ActorRef
-
- akka.actor.InternalActorRef
-
- akka.actor.VirtualPathContainer
-
- All Implemented Interfaces:
ActorRefScope,LocalRef,MinimalActorRef,ScalaActorRef,java.io.Serializable,java.lang.Comparable<ActorRef>,scala.Serializable
- Direct Known Subclasses:
RemoteSystemDaemon
public class VirtualPathContainer extends InternalActorRef implements MinimalActorRef
InActorSelectionMessages onlySelectChildNameelements are supported, otherwise messages are sent toEmptyLocalActorRef.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VirtualPathContainer(ActorRefProvider provider, ActorPath path, InternalActorRef getParent, MarkerLoggingAdapter log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void$bang(java.lang.Object message, ActorRef sender)InActorSelectionMessages onlySelectChildNameelements are supported, otherwise messages are sent toEmptyLocalActorRef.ActorRef$bang$default$2(java.lang.Object message)voidaddChild(java.lang.String name, InternalActorRef ref)voidforeachChild(scala.Function1<ActorRef,scala.runtime.BoxedUnit> f)InternalActorRefgetChild(java.lang.String name)InternalActorRefgetChild(scala.collection.Iterator<java.lang.String> name)Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location.InternalActorRefgetParent()Obtain parent of this ref; used by getChild for ".." paths.booleanhasChildren()MarkerLoggingAdapterlog()ActorPathpath()ActorRefProviderprovider()Get a reference to the actor ref provider which created this ref.voidremoveChild(java.lang.String name)protected voidremoveChild(java.lang.String name, ActorRef ref)Remove a named child if it matches the ref.-
Methods inherited from class akka.actor.InternalActorRef
isLocal, isTerminated, restart, resume, sendSystemMessage, start, stop, suspend
-
Methods inherited from class akka.actor.ActorRef
compareTo, equals, forward, hashCode, noSender, tell, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.actor.MinimalActorRef
isTerminated, restart, resume, sendSystemMessage, start, stop, suspend, writeReplace
-
-
-
-
Constructor Detail
-
VirtualPathContainer
public VirtualPathContainer(ActorRefProvider provider, ActorPath path, InternalActorRef getParent, MarkerLoggingAdapter log)
-
-
Method Detail
-
$bang
public void $bang(java.lang.Object message, ActorRef sender)InActorSelectionMessages onlySelectChildNameelements are supported, otherwise messages are sent toEmptyLocalActorRef.- Specified by:
$bangin interfaceMinimalActorRef- Specified by:
$bangin interfaceScalaActorRef- Parameters:
message- (undocumented)sender- (undocumented)
-
$bang$default$2
public ActorRef $bang$default$2(java.lang.Object message)
- Specified by:
$bang$default$2in interfaceMinimalActorRef- Specified by:
$bang$default$2in interfaceScalaActorRef
-
addChild
public void addChild(java.lang.String name, InternalActorRef ref)
-
foreachChild
public void foreachChild(scala.Function1<ActorRef,scala.runtime.BoxedUnit> f)
-
getChild
public InternalActorRef getChild(java.lang.String name)
-
getChild
public InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
Description copied from class:InternalActorRefObtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location. This method shall return the end result, i.e. not only the next step in the look-up; this will typically involve recursive invocation. A path element of ".." signifies the parent, a trailing "" element must be disregarded. If the requested path does not exist, return Nobody.- Specified by:
getChildin interfaceMinimalActorRef- Specified by:
getChildin classInternalActorRef- Parameters:
name- (undocumented)- Returns:
- (undocumented)
-
getParent
public InternalActorRef getParent()
Description copied from class:InternalActorRefObtain parent of this ref; used by getChild for ".." paths.- Specified by:
getParentin interfaceMinimalActorRef- Specified by:
getParentin classInternalActorRef- Returns:
- (undocumented)
-
hasChildren
public boolean hasChildren()
-
log
public MarkerLoggingAdapter log()
-
provider
public ActorRefProvider provider()
Description copied from class:InternalActorRefGet a reference to the actor ref provider which created this ref.- Specified by:
providerin classInternalActorRef- Returns:
- (undocumented)
-
removeChild
public void removeChild(java.lang.String name)
-
removeChild
protected void removeChild(java.lang.String name, ActorRef ref)Remove a named child if it matches the ref.- Parameters:
name- (undocumented)ref- (undocumented)
-
-