|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.presents.dobj.DObject
com.threerings.whirled.spot.data.ClusterObject
public class ClusterObject
Used to dispatch chat in clusters.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.crowd.chat.data.SpeakObject |
|---|
com.threerings.crowd.chat.data.SpeakObject.ListenerOp |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
com.threerings.presents.dobj.OidList |
occupants
Tracks the oid of the body objects that occupy this cluster. |
static String |
OCCUPANTS
The field name of the occupants field. |
| Constructor Summary | |
|---|---|
ClusterObject()
|
|
| Method Summary | |
|---|---|
void |
addToOccupants(int oid)
Requests that oid be added to the occupants
oid list. |
void |
applyToListeners(com.threerings.crowd.chat.data.SpeakObject.ListenerOp op)
|
void |
removeFromOccupants(int oid)
Requests that oid be removed from the
occupants oid list. |
| Methods inherited from class com.threerings.presents.dobj.DObject |
|---|
acquireLock, addListener, addListener, addSubscriber, addToSet, cancelTransaction, changeAttribute, checkPermissions, checkPermissions, commitTransaction, destroy, getAccessController, getAttribute, getLocal, getLocals, getManager, getOid, getSet, inTransaction, isActive, notifyListeners, notifyProxies, postEvent, postMessage, postMessage, readField__oid, releaseLock, removeFromSet, removeListener, removeSubscriber, setAccessController, setAttribute, setDestroyOnLastSubscriberRemoved, setLocal, setManager, setOid, startTransaction, toString, updateSet, which, writeField__oid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public static final String OCCUPANTS
occupants field.
public com.threerings.presents.dobj.OidList occupants
| Constructor Detail |
|---|
public ClusterObject()
| Method Detail |
|---|
public void applyToListeners(com.threerings.crowd.chat.data.SpeakObject.ListenerOp op)
applyToListeners in interface com.threerings.crowd.chat.data.SpeakObject@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void addToOccupants(int oid)
oid be added to the occupants
oid list. The list will not change until the event is actually
propagated through the system.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void removeFromOccupants(int oid)
oid be removed from the
occupants oid list. The list will not change until the
event is actually propagated through the system.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||