akka.actor
Class ActorIdentity

java.lang.Object
  extended by akka.actor.ActorIdentity
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class ActorIdentity
extends java.lang.Object
implements scala.Product, scala.Serializable

Reply to Identify. Contains Some(ref) with the ActorRef of the actor replying to the request or None if no actor matched the request. The correlationId is taken from the messageId in the Identify message.

See Also:
Serialized Form

Constructor Summary
ActorIdentity(java.lang.Object correlationId, scala.Option<ActorRef> ref)
           
 
Method Summary
 java.lang.Object correlationId()
           
 ActorRef getRef()
          Java API: ActorRef of the actor replying to the request or null if no actor matched the request.
 scala.Option<ActorRef> ref()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

ActorIdentity

public ActorIdentity(java.lang.Object correlationId,
                     scala.Option<ActorRef> ref)
Method Detail

correlationId

public java.lang.Object correlationId()

ref

public scala.Option<ActorRef> ref()

getRef

public ActorRef getRef()
Java API: ActorRef of the actor replying to the request or null if no actor matched the request.

Returns:
(undocumented)