TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
A wrapper class for C++ PluginEventHandlerRegistry. More...
Public Member Functions | |
abstract void | delete () |
Explicitly free the underlying C++ object. | |
native void | registerEventHandler (AbstractPluginEventHandler handler, int eventCode) |
Register an event handler by event code. | |
native void | registerInputEventHandler (AbstractPluginEventHandler handler) |
Register an event handler for all events from the input plugin. | |
native void | registerOutputEventHandler (AbstractPluginEventHandler handler) |
Register an event handler for all events from the output plugin. | |
Protected Attributes | |
long | nativeObject = 0 |
The address of the underlying C++ object. | |
A wrapper class for C++ PluginEventHandlerRegistry.
native void io.tsduck.PluginEventHandlerRegistry.registerEventHandler | ( | AbstractPluginEventHandler | handler, |
int | eventCode | ||
) |
Register an event handler by event code.
handler | An instance of AbstractPluginEventHandler. |
eventCode | The code of the events to handle. |
native void io.tsduck.PluginEventHandlerRegistry.registerInputEventHandler | ( | AbstractPluginEventHandler | handler | ) |
Register an event handler for all events from the input plugin.
handler | An instance of AbstractPluginEventHandler. |
native void io.tsduck.PluginEventHandlerRegistry.registerOutputEventHandler | ( | AbstractPluginEventHandler | handler | ) |
Register an event handler for all events from the output plugin.
handler | An instance of AbstractPluginEventHandler. |
|
abstractinherited |
Explicitly free the underlying C++ object.
After this call, the object becomes unusable. Most usages are unpredictable but most likely will do nothing.
Reimplemented in io.tsduck.AbstractAsyncReport, io.tsduck.AbstractPluginEventHandler, io.tsduck.AbstractSyncReport, io.tsduck.AsyncReport, io.tsduck.DuckContext, io.tsduck.ErrReport, io.tsduck.InputSwitcher, io.tsduck.NullReport, io.tsduck.SectionFile, io.tsduck.SystemMonitor, and io.tsduck.TSProcessor.
|
protectedinherited |
The address of the underlying C++ object.
It is normally accessed by native methods only.