org.elkoserver.foundation.json
Interface Deliverer

All Known Subinterfaces:
BasicProtocolActor
All Known Implementing Classes:
Actor, Context, InternalActor, NonRoutingActor, RoutingActor, ServiceActor, ServiceLink, User, WorkshopActor

public interface Deliverer

Interface for an object that will deliver JSON messages somewhere. Possible implementors include immediate message targets, objects that pass messages along network connections, and objects that represent groups of other deliverers to which messages are fanned.


Method Summary
 void send(JSONLiteral message)
          Send a message to this object.
 

Method Detail

send

void send(JSONLiteral message)
Send a message to this object. The message may be anything that can be represented in JSON; it is up to the sender and receiver to agree on what it is and what it means.

Parameters:
message - The message to send.