public class BamFirstResultRouter extends AbstractBamRouter
Constructor and Description |
---|
BamFirstResultRouter(ActorSender sender,
long timeout,
BamActorRef... actors) |
Modifier and Type | Method and Description |
---|---|
protected BamActorRef[] |
getActors() |
java.lang.String |
getAddress() |
ActorSender |
getSender() |
boolean |
isActive() |
void |
message(java.lang.String from,
java.io.Serializable payload) |
void |
query(long id,
java.lang.String from,
java.io.Serializable payload) |
messageError, queryError, queryResult, toString
public BamFirstResultRouter(ActorSender sender, long timeout, BamActorRef... actors)
public java.lang.String getAddress()
protected BamActorRef[] getActors()
public boolean isActive()
isActive
in interface BamActorRef
isActive
in class AbstractBamRouter
public ActorSender getSender()
public void message(java.lang.String from, java.io.Serializable payload)
public void query(long id, java.lang.String from, java.io.Serializable payload)