2015-11-29 66 views

回答

3

名称是从路径访问:

val name = myActorRef.path.name 

同样的,名字也是路径中的元素:

val nameAgain = myActorRef.path.elements.last