| Constructor and Description |
|---|
AsStringFieldEditor(PresentsContext ctx,
Field field,
DObject object) |
BooleanFieldEditor(PresentsContext ctx,
Field field,
DObject object) |
DSetEditor(DObject setter,
String setName,
Class<?> entryClass)
Construct a DSet editor to merely display the specified set.
|
DSetEditor(DObject setter,
String setName,
Class<?> entryClass,
String[] editableFields)
Construct a DSetEditor, allowing the specified fields to be edited.
|
DSetEditor(DObject setter,
String setName,
Class<?> entryClass,
String[] editableFields,
ObjectEditorTable.FieldInterpreter interp)
Construct a DSetEditor with a custom FieldInterpreter.
|
DSetEditor(DObject setter,
String setName,
Class<?> entryClass,
String[] editableFields,
ObjectEditorTable.FieldInterpreter interp,
String[] displayFields,
Predicate<E> entryFilter)
Construct a DSetEditor that only displays entries that match the given Predicate.
|
FieldEditor(PresentsContext ctx,
Field field,
DObject object) |
PulldownFieldEditor(PresentsContext ctx,
Field field,
DObject obj)
Construct a PulldownFieldEditor.
|
TabbedDSetEditor(DObject setter,
String setName,
Class<?> entryClass,
String[] editableFields,
ObjectEditorTable.FieldInterpreter interp,
String groupField)
Convenience function to make an edittor that groups based on the values of a given field.
|
TabbedDSetEditor(DObject setter,
String setName,
Class<?> entryClass,
String[] editableFields,
ObjectEditorTable.FieldInterpreter interp,
TabbedDSetEditor.EntryGrouper<E> grouper)
A set of tabs containing DSetEditors grouping entries by the String value stored in
a given field of the Entry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigObject
Base class for runtime config distributed objects.
|
| Modifier and Type | Method and Description |
|---|---|
DObject |
ConfigRegistry.getObject(String key)
Returns the config object mapped to the specified key, or null if none exists for that key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigRegistry.registerObject(String key,
String path,
DObject object)
Registers the supplied configuration object with the system.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AgentObject
Contains information for configuring and communicating with an agent.
|
class |
BureauClientObject
An object representing a Bureau connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChatDirector.addAuxiliarySource(DObject source,
String localtype)
Adds an additional object via which chat messages may arrive.
|
void |
ChatDirector.removeAuxiliarySource(DObject source)
Removes a previously added auxiliary chat source.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SpeakHandler.SpeakerValidator.isValidSpeaker(DObject speakObj,
ClientObject speaker,
byte mode)
Should return true if the supplied speaker is allowed to speak via the speak provider
with which this validator was registered.
|
static void |
SpeakUtil.sendAttention(DObject speakObj,
String bundle,
String message)
Sends a system ATTENTION message notification to the specified object with the supplied
message content.
|
static void |
SpeakUtil.sendFeedback(DObject speakObj,
String bundle,
String message)
Sends a system FEEDBACK message notification to the specified object with the supplied
message content.
|
static void |
SpeakUtil.sendInfo(DObject speakObj,
String bundle,
String message)
Sends a system INFO message notification to the specified object with the supplied message
content.
|
static void |
SpeakUtil.sendMessage(DObject speakObj,
ChatMessage msg)
Send the specified message on the specified object.
|
static void |
SpeakUtil.sendSpeak(DObject speakObj,
Name speaker,
String bundle,
String message)
Sends a speak notification to the specified place object originating with the specified
speaker (the speaker optionally being a server entity that wishes to fake a "speak" message)
and with the supplied message content.
|
static void |
SpeakUtil.sendSpeak(DObject speakObj,
Name speaker,
String bundle,
String message,
byte mode)
Sends a speak notification to the specified place object originating with the specified
speaker (the speaker optionally being a server entity that wishes to fake a "speak" message)
and with the supplied message content.
|
void |
ChatProvider.setAlternateBroadcastObject(DObject object)
Set an object to which all broadcasts should be sent, rather than iterating over the place
objects and sending to each of them.
|
| Constructor and Description |
|---|
SpeakHandler(BodyLocator locator,
DObject speakObj,
SpeakHandler.SpeakerValidator validator)
Creates a handler that will provide speech on the supplied distributed object.
|
SpeakHandler(DObject speakObj,
SpeakHandler.SpeakerValidator validator)
Creates a handler that will provide speech on the supplied distributed object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BodyObject
The basic user object class for Crowd users.
|
class |
PlaceObject
A distributed object that contains information on a place that is occupied by bodies.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CrowdNodeObject
Extends the basic
NodeObject with Crowd bits. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CrowdObjectAccess.PlaceAccessController.allowDispatch(DObject object,
DEvent event) |
boolean |
CrowdObjectAccess.BureauAccessController.allowDispatch(DObject object,
DEvent event) |
boolean |
CrowdObjectAccess.PlaceAccessController.allowSubscribe(DObject object,
Subscriber<?> sub) |
boolean |
CrowdObjectAccess.BureauAccessController.allowSubscribe(DObject object,
Subscriber<?> sub) |
boolean |
PlaceManager.isValidSpeaker(DObject speakObj,
ClientObject speaker,
byte mode) |
| Modifier and Type | Method and Description |
|---|---|
<T extends DObject> |
ClientDObjectMgr.subscribeToObject(int oid,
Subscriber<T> target) |
<T extends DObject> |
ClientDObjectMgr.unsubscribeFromObject(int oid,
Subscriber<T> target) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClientDObjectMgr.isManager(DObject object) |
void |
ClientDObjectMgr.removedLastSubscriber(DObject obj,
boolean deathWish) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientObject
A distributed object to which only the client subscribes.
|
class |
InvocationObject
A single invocation object is created by the server invocation manager
and is used to receive invocation request messages from the client.
|
class |
TimeBaseObject
Used to communicate time bases to clients so that more efficient delta
times can be transmitted over the network.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Subscriber<T extends DObject>
A subscriber is an entity that has access to a distributed object.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends DObject> |
RootDObjectManager.registerObject(T object)
Registers a distributed object instance of the supplied class with the system and assigns it
an oid.
|
<T extends DObject> |
DObjectManager.subscribeToObject(int oid,
Subscriber<T> target)
Requests that the specified subscriber be subscribed to the object identified by the
supplied object id.
|
<T extends DObject> |
DObjectManager.unsubscribeFromObject(int oid,
Subscriber<T> target)
Requests that the specified subscriber be unsubscribed from the object identified by the
supplied object id.
|
| Modifier and Type | Method and Description |
|---|---|
DObject |
RootDObjectManager.getObject(int oid)
Looks up and returns the requested distributed object in the dobj table, returning null if
no object exists with that oid.
|
| 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 |
AccessController.allowSubscribe(DObject object,
Subscriber<?> subscriber)
Should return true if the supplied subscriber is allowed to
subscribe to the specified object.
|
boolean |
ReleaseLockEvent.applyToObject(DObject target)
Applies this lock release to the object.
|
boolean |
ObjectRemovedEvent.applyToObject(DObject target) |
boolean |
ObjectDestroyedEvent.applyToObject(DObject target) |
boolean |
ObjectAddedEvent.applyToObject(DObject target) |
boolean |
MessageEvent.applyToObject(DObject target) |
boolean |
InvocationResponseEvent.applyToObject(DObject target) |
boolean |
InvocationRequestEvent.applyToObject(DObject target) |
boolean |
InvocationNotificationEvent.applyToObject(DObject target) |
boolean |
EntryUpdatedEvent.applyToObject(DObject target) |
boolean |
EntryRemovedEvent.applyToObject(DObject target) |
boolean |
EntryAddedEvent.applyToObject(DObject target) |
boolean |
ElementUpdatedEvent.applyToObject(DObject target) |
abstract boolean |
DEvent.applyToObject(DObject target)
Applies the attribute modifications represented by this event to the specified target
object.
|
boolean |
CompoundEvent.applyToObject(DObject target) |
boolean |
AttributeChangedEvent.applyToObject(DObject target) |
abstract Object |
Accessor.get(DObject obj)
Gets the current value of this attribute.
|
Object |
Accessor.ByField.get(DObject obj) |
boolean |
DObjectManager.isManager(DObject object)
Returns true if this distributed object manager is the authoritative manager for the
specified distributed object, or false if we are only providing a proxy to the object.
|
void |
DObjectManager.removedLastSubscriber(DObject obj,
boolean deathWish)
When a distributed object removes its last subscriber, it will call this function to let the
object manager know.
|
abstract void |
Accessor.set(DObject obj,
Object value)
Updates the current value of this attribute.
|
void |
Accessor.ByField.set(DObject obj,
Object value) |
| Constructor and Description |
|---|
CompoundEvent(DObject target,
DObjectManager omgr)
Constructs a compound event and prepares it for operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectResponse<T extends DObject>
Contains a distributed object to which the client has subscribed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthResponseData
An
AuthResponseData object is communicated back to the
client along with an authentication response. |
| Modifier and Type | Class and Description |
|---|---|
class |
NodeObject
Contains information that one node published for all of its peers.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends DObject> |
PeerManager.proxyRemoteObject(DObjectAddress remote,
ResultListener<Integer> listener) |
<T extends DObject> |
PeerManager.proxyRemoteObject(String nodeName,
int remoteOid,
ResultListener<Integer> listener)
Initiates a proxy on an object that is managed by the specified peer.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends DObject> |
PresentsDObjectMgr.registerObject(T object) |
<T extends DObject> |
PresentsDObjectMgr.subscribeToObject(int oid,
Subscriber<T> target) |
<T extends DObject> |
PresentsDObjectMgr.unsubscribeFromObject(int oid,
Subscriber<T> target) |
| Modifier and Type | Method and Description |
|---|---|
DObject |
PresentsDObjectMgr.getObject(int oid)
Returns the object in the object table with the specified oid or null if no object has that
oid.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PresentsDObjectMgr.clearProxyObject(int origObjectId,
DObject object)
Clears a proxy object reference from our local distributed object space.
|
boolean |
PresentsDObjectMgr.isManager(DObject object) |
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.registerProxyObject(DObject object,
DObjectManager omgr)
Registers an object managed by another distributed object manager (probably on another
server).
|
void |
PresentsDObjectMgr.removedLastSubscriber(DObject obj,
boolean deathWish) |
| Modifier and Type | Class and Description |
|---|---|
class |
SafeSubscriber<T extends DObject>
A class that safely handles the asynchronous subscription to a distributed object when it is
not know if the subscription will complete before the subscriber decides they no longer wish to
be subscribed.
|
Copyright © 2015. All rights reserved.