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.7.230503-5b2d77f31cef8c4bcaa15ef3ad392561e9e38aa6
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