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

IEventSinkCallback Class Reference
[CLR Hosting helper codeInterfacesProtected destructors on abstract base classes]

Inheritance diagram for IEventSinkCallback:
Collaboration diagram for IEventSinkCallback:

List of all members.


Detailed Description

A callback interface that is used by CCLREventSink to report events.

Public Member Functions

virtual void OnCLRDisabled ()=0
 Called when the CLR is disabled, i.e. when an Event_ClrDisabled event occurs.
virtual void OnDomainUnload (int domainId)=0
 Called when a domain is unloaded, i.e. when an Event_DomainUnload event occurs.
virtual void OnMDAEvent (const JetByteTools::Core::_tstring &title, const JetByteTools::Core::_tstring &message)=0
 Called when an MDA event is fired, i.e. when an Event_MDAFired event occurs.
virtual void OnStackOverflow ()=0
 Called when there is a stack overflow, i.e. when an Event_StackOverflow event occurs.
virtual void OnException ()=0
 Called if an exception occurs. Note that this is called from within the catch handler so you can use the 'throw' trick to catch the exception by type for logging purposes...

Protected Member Functions

 ~IEventSinkCallback () override
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.

Constructor & Destructor Documentation

~IEventSinkCallback (  )  [override, protected]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

virtual void OnCLRDisabled (  )  [pure virtual]

Called when the CLR is disabled, i.e. when an Event_ClrDisabled event occurs.

Implemented in CNullEventSinkCallback.

virtual void OnDomainUnload ( int  domainId  )  [pure virtual]

Called when a domain is unloaded, i.e. when an Event_DomainUnload event occurs.

Implemented in CNullEventSinkCallback.

virtual void OnMDAEvent ( const JetByteTools::Core::_tstring title,
const JetByteTools::Core::_tstring message 
) [pure virtual]

Called when an MDA event is fired, i.e. when an Event_MDAFired event occurs.

Implemented in CNullEventSinkCallback.

virtual void OnStackOverflow (  )  [pure virtual]

Called when there is a stack overflow, i.e. when an Event_StackOverflow event occurs.

Implemented in CNullEventSinkCallback.

virtual void OnException (  )  [pure virtual, inherited]

Called if an exception occurs. Note that this is called from within the catch handler so you can use the 'throw' trick to catch the exception by type for logging purposes...

Implemented in CNullEventSinkCallback.


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