|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AccessController
Used to validate distributed object subscription requests and event dispatches.
DObject.setAccessController(com.threerings.presents.dobj.AccessController)| 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<?> subscriber)
Should return true if the supplied subscriber is allowed to subscribe to the specified object. |
| Method Detail |
|---|
boolean allowSubscribe(DObject object,
Subscriber<?> subscriber)
boolean allowDispatch(DObject object,
DEvent event)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||