| Package | Description |
|---|---|
| com.threerings.crowd.server | |
| com.threerings.presents.client | |
| com.threerings.presents.dobj | |
| com.threerings.presents.net | |
| com.threerings.presents.server |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CrowdObjectAccess.PlaceAccessController.allowDispatch(DObject object,
DEvent event) |
boolean |
CrowdObjectAccess.BureauAccessController.allowDispatch(DObject object,
DEvent event) |
| Modifier and Type | Method and Description |
|---|---|
void |
InvocationDirector.eventReceived(DEvent event)
Process notification and response events arriving on user object.
|
void |
ClientDObjectMgr.postEvent(DEvent event) |
| Modifier and Type | Class and Description |
|---|---|
class |
AttributeChangedEvent
An attribute changed event is dispatched when a single attribute of a distributed object has
changed.
|
class |
CompoundEvent
Used to manage and submit groups of events on a collection of distributed objects in a single
transaction.
|
class |
ElementUpdatedEvent
An element updated event is dispatched when an element of an array field in a distributed object
is updated.
|
class |
EntryAddedEvent<T extends DSet.Entry>
An entry added event is dispatched when an entry is added to a
DSet attribute of a
distributed entry. |
class |
EntryEvent<T extends DSet.Entry>
A common parent class for DSet entry events.
|
class |
EntryRemovedEvent<T extends DSet.Entry>
An entry removed event is dispatched when an entry is removed from a
DSet attribute of a
distributed object. |
class |
EntryUpdatedEvent<T extends DSet.Entry>
An entry updated event is dispatched when an entry of a
DSet is updated. |
class |
InvocationNotificationEvent
Used to dispatch an invocation notification from the server to a client.
|
class |
InvocationRequestEvent
Used to dispatch an invocation request from the client to the server.
|
class |
InvocationResponseEvent
Used to dispatch an invocation response from the server to the client.
|
class |
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.
|
class |
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).
|
class |
ObjectAddedEvent
An object added event is dispatched when an object is added to an
OidList attribute
of a distributed object. |
class |
ObjectDestroyedEvent
An object destroyed event is dispatched when an object has been removed
from the distributed object system.
|
class |
ObjectRemovedEvent
An object removed event is dispatched when an object is removed from an
OidList
attribute of a distributed object. |
class |
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.
|
class |
ServerMessageEvent
A message event that only goes to the server.
|
| Modifier and Type | Method and Description |
|---|---|
DEvent |
DEvent.setTransport(Transport transport)
Sets the transport parameters.
|
DEvent |
CompoundEvent.setTransport(Transport transport) |
| Modifier and Type | Method and Description |
|---|---|
List<DEvent> |
CompoundEvent.getEvents()
Returns the list of events contained within this compound event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccessController.allowDispatch(DObject object,
DEvent event)
Should return true if the supplied event is legal for dispatch on
the specified distributed object.
|
boolean |
DObject.checkPermissions(DEvent event)
Checks to ensure that this event which is about to be processed, has the appropriate
permissions.
|
void |
ProxySubscriber.eventReceived(DEvent event)
Called when any event has been dispatched on an object.
|
void |
EventListener.eventReceived(DEvent event)
Called when any event has been dispatched on an object.
|
void |
DObject.notifyListeners(DEvent event)
Called by the distributed object manager after it has applied an event to this object.
|
void |
DObject.notifyProxies(DEvent event)
Called by the distributed object manager after it has applied an event to this object.
|
void |
DObjectManager.postEvent(DEvent event)
Posts a distributed object event into the system.
|
void |
DObject.postEvent(DEvent event)
Posts the specified event either to our dobject manager or to the compound event for which
we are currently transacting.
|
void |
CompoundEvent.postEvent(DEvent event)
Posts an event to this transaction.
|
| Modifier and Type | Method and Description |
|---|---|
DEvent |
ForwardEventRequest.getEvent()
Returns the event that we wish to have forwarded.
|
DEvent |
EventNotification.getEvent() |
| Constructor and Description |
|---|
EventNotification(DEvent event)
Constructs an event notification for the supplied event.
|
ForwardEventRequest(DEvent event)
Constructs a forward event request for the supplied event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InvocationManager.eventReceived(DEvent event) |
boolean |
PresentsDObjectMgr.objectAdded(DEvent event,
DObject target)
Called as a helper for
ObjectAddedEvent events. |
boolean |
PresentsDObjectMgr.objectDestroyed(DEvent event,
DObject target)
Called as a helper for
ObjectDestroyedEvent events. |
boolean |
PresentsDObjectMgr.objectRemoved(DEvent event,
DObject target)
Called as a helper for
ObjectRemovedEvent events. |
void |
PresentsDObjectMgr.postEvent(DEvent event) |
void |
LocalDObjectMgr.postEvent(DEvent event) |
Copyright © 2015. All rights reserved.