|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.dvr.event.LightweightTriggerManager
public abstract class LightweightTriggerManager
This class represents a manager that can be used by a privileged application to create an artificial object carousel containing a DSMCCStreamEvent in the top level. The DSMCCStreamEvent can be populated by a privileged application. NOTE this is an expanded version of the GEM lightweight binding of the trigger API (GEM clause P.2.3.1 Lightweight binding of trigger API).
Method Summary | |
---|---|
static LightweightTriggerManager |
getInstance()
Gets an instance of the manager. |
abstract void |
registerHandler(LightweightTriggerHandler handler,
short streamType)
Registers a handler interested in services with streams listed in the PMT with this stream type. |
abstract void |
unregisterHandler(LightweightTriggerHandler handler)
Unregisters a handler that was previously registered by the registerHandler method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LightweightTriggerManager getInstance()
public abstract void registerHandler(LightweightTriggerHandler handler, short streamType)
handler
- Handler to register.streamType
- a stream type as signaled in the PMT.
IllegalArgumentException
- if streamType is not in the
range 0x0 to 0xFF.
NullPointerException
- if handler is null.
SecurityException
- if the calling application is not
signed.public abstract void unregisterHandler(LightweightTriggerHandler handler)
handler
- The handle to unregister.
IllegalArgumentException
- if the handler was not previously
registered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |