org.elkoserver.foundation.server
Class ServiceLink

java.lang.Object
  extended by org.elkoserver.foundation.server.ServiceLink
All Implemented Interfaces:
Deliverer

public class ServiceLink
extends Object
implements Deliverer

Class representing a connection to a service rather than to a specific client or server. A service link can be maintained across loss of connectivity to specific connected entities, at the cost of allowing some of the state associated with the connection be ephemeral.


Method Summary
 void send(JSONLiteral message)
          Send a message over this link to the entity at the other end.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

send

public void send(JSONLiteral message)
Send a message over this link to the entity at the other end.

Specified by:
send in interface Deliverer
Parameters:
message - The message to send.

toString

public String toString()
Overrides:
toString in class Object