com.threerings.crowd.server
Class CrowdObjectAccess.BureauAccessController
java.lang.Object
com.threerings.crowd.server.CrowdObjectAccess.PlaceAccessController
com.threerings.crowd.server.CrowdObjectAccess.BureauAccessController
- All Implemented Interfaces:
- AccessController
- Enclosing class:
- CrowdObjectAccess
public static class CrowdObjectAccess.BureauAccessController
- extends CrowdObjectAccess.PlaceAccessController
Extends the access control in CrowdObjectAccess.PlaceAccessController to allow Bureau clients to
subscribe.
|
Method Summary |
boolean |
allowDispatch(DObject object,
DEvent event)
Should return true if the supplied event is legal for dispatch on
the specified distributed object. |
boolean |
allowSubscribe(DObject object,
Subscriber<?> sub)
Should return true if the supplied subscriber is allowed to
subscribe to the specified object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdObjectAccess.BureauAccessController
public CrowdObjectAccess.BureauAccessController()
allowSubscribe
public boolean allowSubscribe(DObject object,
Subscriber<?> sub)
- Description copied from interface:
AccessController
- Should return true if the supplied subscriber is allowed to
subscribe to the specified object.
- Specified by:
allowSubscribe in interface AccessController- Overrides:
allowSubscribe in class CrowdObjectAccess.PlaceAccessController
allowDispatch
public boolean allowDispatch(DObject object,
DEvent event)
- Description copied from interface:
AccessController
- Should return true if the supplied event is legal for dispatch on
the specified distributed object.
- Specified by:
allowDispatch in interface AccessController- Overrides:
allowDispatch in class CrowdObjectAccess.PlaceAccessController