|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.whirled.server.SceneRegistry
com.threerings.whirled.spot.server.SpotSceneRegistry
public class SpotSceneRegistry
Extends the SceneRegistry with spot-related services.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.whirled.server.SceneRegistry |
|---|
SceneRegistry.ConfigFactory, SceneRegistry.ResolutionListener |
| Field Summary |
|---|
| Fields inherited from interface com.threerings.whirled.data.SceneCodes |
|---|
SCENE_UPDATE, WHIRLED_GROUP |
| Fields inherited from interface com.threerings.crowd.data.LocationCodes |
|---|
ALREADY_THERE, MOVE_IN_PROGRESS, NO_SUCH_PLACE |
| Fields inherited from interface com.threerings.presents.data.InvocationCodes |
|---|
ACCESS_DENIED, E_ACCESS_DENIED, E_INTERNAL_ERROR, GLOBAL_GROUP, INTERNAL_ERROR |
| Constructor Summary | |
|---|---|
SpotSceneRegistry(com.threerings.presents.server.InvocationManager invmgr)
Constructs a spot scene registry. |
|
| Method Summary | |
|---|---|
void |
changeLocation(com.threerings.presents.data.ClientObject caller,
int sceneId,
Location loc,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
Handles a SpotService.changeLocation(int, com.threerings.whirled.spot.data.Location, com.threerings.presents.client.InvocationService.ConfirmListener) request. |
void |
clusterSpeak(com.threerings.presents.data.ClientObject caller,
String message,
byte mode)
Handles a SpotService.clusterSpeak(java.lang.String, byte) request. |
void |
joinCluster(com.threerings.presents.data.ClientObject caller,
int friendOid,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
Handles a SpotService.joinCluster(int, com.threerings.presents.client.InvocationService.ConfirmListener) request. |
void |
sendClusterChatMessage(int sceneId,
int speakerOid,
com.threerings.util.Name speaker,
String bundle,
String message,
byte mode)
Sends a cluster chat notification to the specified location in the specified place object originating with the specified speaker (the speaker can be a server entity that wishes to fake a "speak" message, in which case the bundle argument should be non-null and should contain the id of the bundle to be used to translate the message text) and with the supplied message content. |
void |
sendClusterChatMessage(int sceneId,
int speakerOid,
com.threerings.crowd.chat.data.UserMessage message)
Sends a cluster chat notification to the specified location in the specified place object originating with the specified speaker. |
void |
traversePortal(com.threerings.presents.data.ClientObject caller,
int sceneId,
int portalId,
int destSceneVer,
SpotService.SpotSceneMoveListener listener)
Handles a SpotService.traversePortal(int, int, int, com.threerings.whirled.spot.client.SpotService.SpotSceneMoveListener) request. |
| Methods inherited from class com.threerings.whirled.server.SceneRegistry |
|---|
getSceneManager, getSceneRepository, leaveOccupiedScene, moveBody, moveTo, resolveScene, where |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public SpotSceneRegistry(com.threerings.presents.server.InvocationManager invmgr)
| Method Detail |
|---|
public void sendClusterChatMessage(int sceneId,
int speakerOid,
com.threerings.util.Name speaker,
String bundle,
String message,
byte mode)
sceneId - the scene id in which to deliver the chat message.speakerOid - the body object id of the speaker (used to verify that they are in the
cluster in question).speaker - the username of the user that generated the message (or some special speaker
name for server messages).bundle - the bundle identifier that will be used by the client to translate the message
text (or null if the message originated from a real live human who wrote it in their native
tongue).message - the text of the chat message.
public void sendClusterChatMessage(int sceneId,
int speakerOid,
com.threerings.crowd.chat.data.UserMessage message)
sceneId - the scene id in which to deliver the chat message.speakerOid - the body object id of the speaker (used to verify that they are in the
cluster in question).message - the message.
public void traversePortal(com.threerings.presents.data.ClientObject caller,
int sceneId,
int portalId,
int destSceneVer,
SpotService.SpotSceneMoveListener listener)
throws com.threerings.presents.server.InvocationException
SpotProviderSpotService.traversePortal(int, int, int, com.threerings.whirled.spot.client.SpotService.SpotSceneMoveListener) request.
traversePortal in interface SpotProvidercom.threerings.presents.server.InvocationException
public void changeLocation(com.threerings.presents.data.ClientObject caller,
int sceneId,
Location loc,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
throws com.threerings.presents.server.InvocationException
SpotProviderSpotService.changeLocation(int, com.threerings.whirled.spot.data.Location, com.threerings.presents.client.InvocationService.ConfirmListener) request.
changeLocation in interface SpotProvidercom.threerings.presents.server.InvocationException
public void joinCluster(com.threerings.presents.data.ClientObject caller,
int friendOid,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
throws com.threerings.presents.server.InvocationException
SpotProviderSpotService.joinCluster(int, com.threerings.presents.client.InvocationService.ConfirmListener) request.
joinCluster in interface SpotProvidercom.threerings.presents.server.InvocationException
public void clusterSpeak(com.threerings.presents.data.ClientObject caller,
String message,
byte mode)
SpotProviderSpotService.clusterSpeak(java.lang.String, byte) request.
clusterSpeak in interface SpotProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||