public class TableLobbyObject extends LobbyObject implements TableLobbyObject
com.threerings.crowd.data.PlaceObject.ManagerCaller| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_SERVICE
The field name of the
tableService field. |
static String |
TABLE_SET
The field name of the
tableSet field. |
TableMarshaller |
tableService
Handles our table services.
|
com.threerings.presents.dobj.DSet<Table> |
tableSet
A set containing all of the tables being managed by this lobby.
|
| Constructor and Description |
|---|
TableLobbyObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToTables(Table table)
Adds the supplied table instance to the tables set (using the
appropriate distributed object mechanisms).
|
void |
addToTableSet(Table elem)
Requests that the specified entry be added to the
tableSet set. |
com.threerings.presents.dobj.DSet<Table> |
getTables()
Returns a reference to the distributed set instance that will be
holding the tables.
|
TableMarshaller |
getTableService()
Returns a reference to the table service configured in this object.
|
void |
removeFromTables(Comparable<?> key)
Removes the table instance that matches the specified key from the
tables set (using the appropriate distributed object mechanisms).
|
void |
removeFromTableSet(Comparable<?> key)
Requests that the entry matching the supplied key be removed from
the
tableSet set. |
void |
setTableService(TableMarshaller value)
Requests that the
tableService field be set to the
specified value. |
void |
setTableSet(com.threerings.presents.dobj.DSet<Table> value)
Requests that the
tableSet field be set to the
specified value. |
void |
updateTables(Table table)
Updates the value of the specified table instance in the tables
distributed set (using the appropriate distributed object
mechanisms).
|
void |
updateTableSet(Table elem)
Requests that the specified entry be updated in the
tableSet set. |
addToOccupantInfo, addToOccupants, applyToListeners, getChatIdentifier, getOccupantInfo, initManagerCaller, removeFromOccupantInfo, removeFromOccupants, setOccupantInfo, setSpeakService, shouldBroadcast, updateOccupantInfoacquireLock, addListener, addListener, addSubscriber, addToSet, cancelTransaction, changeAttribute, checkPermissions, checkPermissions, commitTransaction, destroy, getAccessController, getAttribute, getLocal, getLocals, getManager, getOid, getSet, inTransaction, isActive, notifyListeners, notifyProxies, postEvent, postMessage, postMessage, releaseLock, removeFromSet, removeListener, removeSubscriber, setAccessController, setAttribute, setDestroyOnLastSubscriberRemoved, setLocal, setManager, setOid, startTransaction, toString, updateSet, which@Generated(value="com.threerings.presents.tools.GenDObjectTask") public static final String TABLE_SET
tableSet field.@Generated(value="com.threerings.presents.tools.GenDObjectTask") public static final String TABLE_SERVICE
tableService field.public com.threerings.presents.dobj.DSet<Table> tableSet
public TableMarshaller tableService
public com.threerings.presents.dobj.DSet<Table> getTables()
TableLobbyObjectgetTables in interface TableLobbyObjectpublic void addToTables(Table table)
TableLobbyObjectaddToTables in interface TableLobbyObjectpublic void updateTables(Table table)
TableLobbyObjectupdateTables in interface TableLobbyObjectpublic void removeFromTables(Comparable<?> key)
TableLobbyObjectremoveFromTables in interface TableLobbyObjectpublic TableMarshaller getTableService()
TableLobbyObjectgetTableService in interface TableLobbyObject@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void addToTableSet(Table elem)
tableSet set. The set will not change until the event is
actually propagated through the system.@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void removeFromTableSet(Comparable<?> key)
tableSet set. The set will not change until the
event is actually propagated through the system.@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void updateTableSet(Table elem)
tableSet set. The set will not change until the event is
actually propagated through the system.@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void setTableSet(com.threerings.presents.dobj.DSet<Table> value)
tableSet 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.@Generated(value="com.threerings.presents.tools.GenDObjectTask") public void setTableService(TableMarshaller value)
tableService 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.setTableService in interface TableLobbyObjectCopyright © 2015. All rights reserved.