|
|||||||||
| 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.presents.peer.data.NodeObject
com.threerings.crowd.peer.data.CrowdNodeObject
public class CrowdNodeObject
Extends the basic NodeObject with Crowd bits.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.presents.peer.data.NodeObject |
|---|
NodeObject.CacheData, NodeObject.Lock |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
static String |
CROWD_PEER_SERVICE
The field name of the crowdPeerService field. |
CrowdPeerMarshaller |
crowdPeerService
Used to coordinate tells between servers. |
static String |
HOSTED_CHANNELS
The field name of the hostedChannels field. |
DSet<ChatChannel> |
hostedChannels
The chat channels hosted on this server. |
| Fields inherited from class com.threerings.presents.peer.data.NodeObject |
|---|
ACQUIRING_LOCK, acquiringLock, BOOT_STAMP, bootStamp, CACHE_DATA, cacheData, clients, CLIENTS, locks, LOCKS, NODE_NAME, nodeName, PEER_SERVICE, peerService, RELEASING_LOCK, releasingLock |
| Fields inherited from class com.threerings.presents.dobj.DObject |
|---|
_accessors, _atable, _controller, _deathWish, _listeners, _locattrs, _locks, _oid, _omgr, _scount, _subs, _tcancelled, _tcount, _tevent |
| Constructor Summary | |
|---|---|
CrowdNodeObject()
|
|
| Method Summary | |
|---|---|
void |
addToHostedChannels(ChatChannel elem)
Requests that the specified entry be added to the hostedChannels set. |
void |
removeFromHostedChannels(Comparable<?> key)
Requests that the entry matching the supplied key be removed from the hostedChannels set. |
void |
setCrowdPeerService(CrowdPeerMarshaller value)
Requests that the crowdPeerService field be set to the
specified value. |
void |
setHostedChannels(DSet<ChatChannel> value)
Requests that the hostedChannels field be set to the
specified value. |
void |
updateHostedChannels(ChatChannel elem)
Requests that the specified entry be updated in the hostedChannels set. |
| Methods inherited from class com.threerings.presents.peer.data.NodeObject |
|---|
addToClients, addToLocks, removeFromClients, removeFromLocks, setAcquiringLock, setBootStamp, setCacheData, setClients, setLocks, setNodeName, setPeerService, setReleasingLock, updateClients, updateLocks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public static final String CROWD_PEER_SERVICE
crowdPeerService field.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public static final String HOSTED_CHANNELS
hostedChannels field.
public CrowdPeerMarshaller crowdPeerService
public DSet<ChatChannel> hostedChannels
| Constructor Detail |
|---|
public CrowdNodeObject()
| Method Detail |
|---|
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void setCrowdPeerService(CrowdPeerMarshaller value)
crowdPeerService field be set to the
specified value. The local value will be updated immediately and an
event will be propagated through the system to notify all listeners
that the attribute did change. Proxied copies of this object (on
clients) will apply the value change when they received the
attribute changed notification.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void addToHostedChannels(ChatChannel elem)
hostedChannels set. The set will not change until the event is
actually propagated through the system.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void removeFromHostedChannels(Comparable<?> key)
hostedChannels set. The set will not change until the
event is actually propagated through the system.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void updateHostedChannels(ChatChannel elem)
hostedChannels set. The set will not change until the event is
actually propagated through the system.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void setHostedChannels(DSet<ChatChannel> value)
hostedChannels field be set to the
specified value. Generally one only adds, updates and removes
entries of a distributed set, but certain situations call for a
complete replacement of the set value. The local value will be
updated immediately and an event will be propagated through the
system to notify all listeners that the attribute did
change. Proxied copies of this object (on clients) will apply the
value change when they received the attribute changed notification.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||