org.elkoserver.foundation.server
Class ServiceLink
java.lang.Object
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.
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