|
|||||||||
| 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.crowd.data.PlaceObject
com.threerings.micasa.lobby.LobbyObject
com.threerings.micasa.lobby.table.TableLobbyObject
public class TableLobbyObject
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.crowd.data.PlaceObject |
|---|
PlaceObject.ManagerCaller |
| Nested classes/interfaces inherited from interface com.threerings.crowd.chat.data.SpeakObject |
|---|
SpeakObject.ListenerOp |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
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. |
DSet<Table> |
tableSet
A set containing all of the tables being managed by this lobby. |
| Fields inherited from class com.threerings.crowd.data.PlaceObject |
|---|
manager, OCCUPANT_INFO, occupantInfo, occupants, OCCUPANTS, SPEAK_SERVICE, speakService |
| 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 | |
|---|---|
TableLobbyObject()
|
|
| Method Summary | |
|---|---|
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. |
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(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. |
| Methods inherited from class com.threerings.crowd.data.PlaceObject |
|---|
addToOccupantInfo, addToOccupants, applyToListeners, getOccupantInfo, initManagerCaller, removeFromOccupantInfo, removeFromOccupants, setOccupantInfo, setSpeakService, shouldBroadcast, updateOccupantInfo |
| 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 TABLE_SET
tableSet field.
@Generated(value="com.threerings.presents.tools.GenDObjectTask") public static final String TABLE_SERVICE
tableService field.
public DSet<Table> tableSet
public TableMarshaller tableService
| Constructor Detail |
|---|
public TableLobbyObject()
| Method Detail |
|---|
public DSet<Table> getTables()
TableLobbyObject
getTables in interface TableLobbyObjectpublic void addToTables(Table table)
TableLobbyObject
addToTables in interface TableLobbyObjectpublic void updateTables(Table table)
TableLobbyObject
updateTables in interface TableLobbyObjectpublic void removeFromTables(Comparable<?> key)
TableLobbyObject
removeFromTables in interface TableLobbyObjectpublic TableMarshaller getTableService()
TableLobbyObject
getTableService 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(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 TableLobbyObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||