Click or drag to resize

JVMBridgeListenerAddEventHandlerTDataClass(String, EventHandlerCLRListenerEventArgsTDataClass) Method

Adds an handler to manage events from JVM

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
Syntax
protected void AddEventHandler<TDataClass>(
	string action,
	EventHandler<CLRListenerEventArgs<TDataClass>> handler
)
where TDataClass : CLREventData

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