|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.crowd.server.BodyManager
public class BodyManager
Handles body related services.
| Field Summary | |
|---|---|
protected BodyLocator |
_locator
|
protected PlaceRegistry |
_plreg
Provides access to place managers. |
| Constructor Summary | |
|---|---|
BodyManager(InvocationManager invmgr)
Constructs and initializes the body manager. |
|
| Method Summary | ||
|---|---|---|
void |
setIdle(ClientObject caller,
boolean idle)
Handles a BodyService.setIdle(boolean) request. |
|
|
updateOccupantInfo(BodyObject body,
OccupantInfo.Updater<T> updater)
Locates the specified body's occupant info in the specified location, applies the supplied occupant info operation to it and then broadcasts the updated info (assuming the occop returned true indicating that an update was made). |
|
void |
updateOccupantStatus(BodyObject body,
byte status)
Updates the connection status for the given body object's occupant info in the specified location. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Inject protected PlaceRegistry _plreg
@Inject protected BodyLocator _locator
| Constructor Detail |
|---|
@Inject public BodyManager(InvocationManager invmgr)
| Method Detail |
|---|
public <T extends OccupantInfo> boolean updateOccupantInfo(BodyObject body,
OccupantInfo.Updater<T> updater)
public void updateOccupantStatus(BodyObject body,
byte status)
public void setIdle(ClientObject caller,
boolean idle)
BodyProviderBodyService.setIdle(boolean) request.
setIdle in interface BodyProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||