org.elkoserver.foundation.server
Class ServiceActor
java.lang.Object
org.elkoserver.foundation.actor.Actor
org.elkoserver.foundation.actor.RoutingActor
org.elkoserver.foundation.server.ServiceActor
- All Implemented Interfaces:
- Deliverer, DispatchTarget, MessageHandler
public class ServiceActor
- extends RoutingActor
Actor for a connection to an external service.
connectionDied
public void connectionDied(Connection connection,
Throwable reason)
- Handle loss of connection from the actor.
- Parameters:
connection - The connection that died.reason - Exception explaining why.
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- a printable representation of this actor.