com.threerings.tudey.server
Class TudeySceneRegistry.PortalMapping

java.lang.Object
  extended by com.threerings.tudey.server.TudeySceneRegistry.PortalMapping
Enclosing class:
TudeySceneRegistry

protected static class TudeySceneRegistry.PortalMapping
extends Object

Contains stored destination portal information.


Field Summary
protected  long _expiry
          The time at which the mapping expires.
protected  Object _portalKey
          The destination portal key.
protected  int _sceneId
          The scene id.
 
Constructor Summary
TudeySceneRegistry.PortalMapping(int sceneId, Object portalKey)
          Creates a new portal mapping.
 
Method Summary
 long getExpiry()
          Returns the time at which the mapping expires.
 Object getPortalKey()
          Returns the key of the destination portal.
 int getSceneId()
          Returns the id of the scene associated with this mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sceneId

protected int _sceneId
The scene id.


_portalKey

protected Object _portalKey
The destination portal key.


_expiry

protected long _expiry
The time at which the mapping expires.

Constructor Detail

TudeySceneRegistry.PortalMapping

public TudeySceneRegistry.PortalMapping(int sceneId,
                                        Object portalKey)
Creates a new portal mapping.

Method Detail

getSceneId

public int getSceneId()
Returns the id of the scene associated with this mapping.


getPortalKey

public Object getPortalKey()
Returns the key of the destination portal.


getExpiry

public long getExpiry()
Returns the time at which the mapping expires.