com.threerings.presents.data
Interface InvocationCodes

All Known Subinterfaces:
AdminCodes, BureauCodes, ChatCodes, CrowdCodes, LocationCodes, TimeBaseCodes
All Known Implementing Classes:
ChatDirector, CrowdPermissionPolicy, LocationDirector, LocationManager, PermissionPolicy, TimeBaseProvider

public interface InvocationCodes

The invocation codes interface provides codes that are commonly used by invocation service implementations. It is implemented as an interface so that were an invocation service to desire to build on two or more other services, it can provide a codes interface that inherits from all of the services that it extends.


Field Summary
static String ACCESS_DENIED
          An error code returned to clients when a service cannot be performed because the requesting client does not have the proper access.
static String E_ACCESS_DENIED
          An error code returned to clients when a service cannot be performed because the requesting client does not have the proper access.
static String E_INTERNAL_ERROR
          An error code returned to clients when a service cannot be performed because of some internal server error that we couldn't explain in any meaningful way (things like null pointer exceptions).
static String GLOBAL_GROUP
          Defines a global invocation services group that can be used by clients and services that do not care to make a distinction between groups of invocation services.
static String INTERNAL_ERROR
          An error code returned to clients when a service cannot be performed because of some internal server error that we couldn't explain in any meaningful way (things like null pointer exceptions).
 

Field Detail

GLOBAL_GROUP

static final String GLOBAL_GROUP
Defines a global invocation services group that can be used by clients and services that do not care to make a distinction between groups of invocation services.

See Also:
Constant Field Values

INTERNAL_ERROR

static final String INTERNAL_ERROR
An error code returned to clients when a service cannot be performed because of some internal server error that we couldn't explain in any meaningful way (things like null pointer exceptions).

See Also:
Constant Field Values

ACCESS_DENIED

static final String ACCESS_DENIED
An error code returned to clients when a service cannot be performed because the requesting client does not have the proper access.

See Also:
Constant Field Values

E_INTERNAL_ERROR

static final String E_INTERNAL_ERROR
An error code returned to clients when a service cannot be performed because of some internal server error that we couldn't explain in any meaningful way (things like null pointer exceptions).

See Also:
Constant Field Values

E_ACCESS_DENIED

static final String E_ACCESS_DENIED
An error code returned to clients when a service cannot be performed because the requesting client does not have the proper access.

See Also:
Constant Field Values