Package com.threerings.presents.dobj

Interface Summary
AccessController Used to validate distributed object subscription requests and event dispatches.
AttributeChangeListener Implemented by entities which wish to hear about attribute changes that take place for a particular distributed object.
ChangeListener The various listener interfaces (e.g.
DObjectManager The distributed object manager is responsible for managing the creation and destruction of distributed objects and propagating dobj events to the appropriate subscribers.
DSet.Entry Entries of the set must implement this interface.
ElementUpdateListener Implemented by entities which wish to hear about element updates that take place for a particular distributed object.
EventListener Implemented by entities which wish to hear about all events being dispatched on a particular distributed object.
MessageListener Implemented by entities which wish to hear about message events that are dispatched on a particular distributed object.
ObjectDeathListener Implemented by entities which wish to hear about object destruction events.
OidListListener Implemented by entities which wish to hear about changes that occur to oid list attributes of a particular distributed object.
ProxySubscriber Defines a special kind of subscriber that proxies events for a subordinate distributed object manager.
RootDObjectManager The root distributed object manager extends the basic distributed object manager interface with methods that can only be guaranteed to work in the virtual machine that is hosting the distributed objects in question.
SetListener<T extends DSet.Entry> Implemented by entities which wish to hear about changes that occur to set attributes of a particular distributed object.
Subscriber<T extends DObject> A subscriber is an entity that has access to a distributed object.
 

Class Summary
AttributeChangedEvent An attribute changed event is dispatched when a single attribute of a distributed object has changed.
CompoundEvent Used to manage and submit groups of events on a collection of distributed objects in a single transaction.
DEvent A distributed object event is dispatched whenever any modification is made to a distributed object.
DObject The distributed object forms the foundation of the Presents system.
DSet<E extends DSet.Entry> The distributed set class provides a means by which an unordered set of objects can be maintained as a distributed object field.
DynamicListener<T extends DSet.Entry> Maps distributed object events to methods using reflection.
ElementUpdatedEvent An element updated event is dispatched when an element of an array field in a distributed object is updated.
EntryAddedEvent<T extends DSet.Entry> An entry added event is dispatched when an entry is added to a DSet attribute of a distributed entry.
EntryRemovedEvent<T extends DSet.Entry> An entry removed event is dispatched when an entry is removed from a DSet attribute of a distributed object.
EntryUpdatedEvent<T extends DSet.Entry> An entry updated event is dispatched when an entry of a DSet is updated.
InvocationNotificationEvent Used to dispatch an invocation notification from the server to a client.
InvocationRequestEvent Used to dispatch an invocation request from the client to the server.
InvocationResponseEvent Used to dispatch an invocation response from the server to the client.
MessageEvent A message event is used to dispatch a message to all subscribers of a distributed object without actually changing any of the fields of the object.
NamedAttributeListener A AttributeChangeListener that listens for changes with a given name and calls namedAttributeChanged when they occur.
NamedElementUpdateListener An ElementUpdateListener that listens for changes with a given name and calls namedElementUpdated when they occur.
NamedEvent A common parent class for all events that are associated with a name (in some cases a field name, in other cases just an identifying name).
NamedSetAdapter<T extends DSet.Entry> A SetAdapter that listens for changes with a given name and calls the 'named' version of the SetListener methods when they occur.
ObjectAddedEvent An object added event is dispatched when an object is added to an OidList attribute of a distributed object.
ObjectDestroyedEvent An object destroyed event is dispatched when an object has been removed from the distributed object system.
ObjectRemovedEvent An object removed event is dispatched when an object is removed from an OidList attribute of a distributed object.
OidList An oid list is used to store lists of object ids.
ReleaseLockEvent A release lock event is dispatched at the end of a chain of events to release a lock that is intended to prevent some application defined activity from happening until those events have been processed.
ServerMessageEvent A message event that only goes to the server.
SetAdapter<T extends DSet.Entry> Implements the methods in SetListener so that you don't have to implement the ones you don't want to.
SimpleEntry<T extends Comparable<?>> A quick and easy DSet.Entry that holds some sort of Comparable.
 

Exception Summary
NoSuchObjectException A no such object exception is delivered when a subscriber requests access to an object that does not exist.
ObjectAccessException An object access exception is delivered when an object is not accessible to a requesting subscriber for some reason or other.