org.elkoserver.json
Interface Referenceable

All Known Subinterfaces:
InternalObject
All Known Implementing Classes:
AdminObject, BankClient, BankWorker, BasicInternalObject, BasicObject, BasicProtocolHandler, Context, Item, NonRoutingActor, User, WorkerObject

public interface Referenceable

Implementing this interface enables an object to be made referenceable in JSON messages.


Method Summary
 String ref()
          Obtain this object's reference string.
 

Method Detail

ref

String ref()
Obtain this object's reference string.

Returns:
a string referencing this object, suitable for addressing it in a JSON message.