com.threerings.presents.util
Interface PresentsContext

All Known Subinterfaces:
BureauContext, CrowdContext
All Known Implementing Classes:
TestClient.CrowdContextImpl

public interface PresentsContext

Provides access to standard services needed by code that is part of or uses the Presents package.


Method Summary
 Client getClient()
          Returns a reference to the client.
 Config getConfig()
          Provides a configuration object from which various services can obtain configuration values and via the properties file that forms the basis of the configuration object, those services can be customized.
 DObjectManager getDObjectManager()
          Returns a reference to the distributed object manager.
 

Method Detail

getConfig

Config getConfig()
Provides a configuration object from which various services can obtain configuration values and via the properties file that forms the basis of the configuration object, those services can be customized.


getClient

Client getClient()
Returns a reference to the client. This reference should be valid for the life of the application.


getDObjectManager

DObjectManager getDObjectManager()
Returns a reference to the distributed object manager. This reference is only valid for the duration of a session.