The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CCLREventSink Class Reference
[CLR Hosting helper code]

Inheritance diagram for CCLREventSink:
Collaboration diagram for CCLREventSink:

List of all members.


Detailed Description

A class that manages subscriptions to CLR events via the IActionOnCLREvent interface.


Public Member Functions

 CCLREventSink (ICLRControl *pControl, IEventSinkCallback &callback)
 Construct an event sink and obtain an instance of ICLROnEventManager to register event actions with from the supplied instance of ICLRControl. Report events via the IEventSinkCallback callback interface.
 CCLREventSink (const CCLREventSink &rhs)
virtual ~CCLREventSink ()
CCLREventSinkoperator= (const CCLREventSink &rhs)
void DisableCallbacks (bool logWhenDisabled=false)
void RegisterForEventCallback (EClrEvent event)
 Register to receieve callbacks when the supplied event is fired by the CLR.
void UnRegisterForEventCallback (EClrEvent event)
 Stop receieving callbacks when the supplied event is fired by the CLR.
void UnRegisterAllEventCallbacks ()
ULONG STDMETHODCALLTYPE AddRef () override
ULONG STDMETHODCALLTYPE Release () override
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, PVOID *ppvObj) override
HRESULT STDMETHODCALLTYPE OnEvent (EClrEvent event, PVOID data) override


Constructor & Destructor Documentation

CCLREventSink ( ICLRControl *  pControl,
IEventSinkCallback callback 
)

Construct an event sink and obtain an instance of ICLROnEventManager to register event actions with from the supplied instance of ICLRControl. Report events via the IEventSinkCallback callback interface.

CCLREventSink ( const CCLREventSink rhs  ) 

~CCLREventSink (  )  [virtual]


Member Function Documentation

CCLREventSink& operator= ( const CCLREventSink rhs  ) 

void DisableCallbacks ( bool  logWhenDisabled = false  ) 

void RegisterForEventCallback ( EClrEvent  event  ) 

Register to receieve callbacks when the supplied event is fired by the CLR.

void UnRegisterForEventCallback ( EClrEvent  event  ) 

Stop receieving callbacks when the supplied event is fired by the CLR.

void UnRegisterAllEventCallbacks (  ) 

ULONG STDMETHODCALLTYPE AddRef (  )  [override]

ULONG STDMETHODCALLTYPE Release (  )  [override]

HRESULT STDMETHODCALLTYPE QueryInterface ( REFIID  riid,
PVOID *  ppvObj 
) [override]

HRESULT STDMETHODCALLTYPE OnEvent ( EClrEvent  event,
PVOID  data 
) [override]


Generated on Sun Sep 12 19:08:13 2021 for The Server Framework - v7.4 by doxygen 1.5.3