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

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

Inheritance diagram for IHostPolicyManagerCallback:
Collaboration diagram for IHostPolicyManagerCallback:

List of all members.


Detailed Description

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

Public Member Functions

virtual void OnDefaultAction (EClrOperation operation, EPolicyAction action)=0
virtual void OnTimeout (EClrOperation operation, EPolicyAction action)=0
virtual void OnFailure (EClrFailure failure, EPolicyAction action)=0
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

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

Constructor & Destructor Documentation

~IHostPolicyManagerCallback (  )  [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 OnDefaultAction ( EClrOperation  operation,
EPolicyAction  action 
) [pure virtual]

virtual void OnTimeout ( EClrOperation  operation,
EPolicyAction  action 
) [pure virtual]

virtual void OnFailure ( EClrFailure  failure,
EPolicyAction  action 
) [pure virtual]

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:16 2021 for The Server Framework - v7.4 by doxygen 1.5.3