com.caucho.amp.router
Class FirstActorRouter

java.lang.Object
  extended by com.caucho.amp.actor.AbstractActorRef
      extended by com.caucho.amp.router.FirstActorRouter
All Implemented Interfaces:
AmpActorRef

public class FirstActorRouter
extends AbstractActorRef

Sender for an actor ref.


Constructor Summary
FirstActorRouter(AmpManager manager, AmpActorRef... actors)
           
 
Method Summary
 java.lang.String getAddress()
           
 AmpMethodRef getMethod(java.lang.String methodName, AmpEncoder encoder)
           
 
Methods inherited from class com.caucho.amp.actor.AbstractActorRef
error, query, queryError, reply, send, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FirstActorRouter

public FirstActorRouter(AmpManager manager,
                        AmpActorRef... actors)
Method Detail

getAddress

public java.lang.String getAddress()
Specified by:
getAddress in interface AmpActorRef
Specified by:
getAddress in class AbstractActorRef

getMethod

public AmpMethodRef getMethod(java.lang.String methodName,
                              AmpEncoder encoder)
Specified by:
getMethod in interface AmpActorRef
Specified by:
getMethod in class AbstractActorRef