| JVMBridgeListenerAddEventHandlerTDataClass(String, EventHandlerCLRListenerEventArgsTDataClass) Method |
Adds an handler to manage events from JVM
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
Syntax protected void AddEventHandler<TDataClass>(
string action,
EventHandler<CLRListenerEventArgs<TDataClass>> handler
)
where TDataClass : CLREventData
Protected Sub AddEventHandler(Of TDataClass As CLREventData) (
action As String,
handler As EventHandler(Of CLRListenerEventArgs(Of TDataClass))
)
Parameters
- action String
- The action to be managed
- handler EventHandlerCLRListenerEventArgsTDataClass
- The CLR handler associated to the JVM event
Type Parameters
- TDataClass
- The class which manages event data in CLR format
See Also