All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---ENOVIEventPlugin
Usage: you can freely reimplement this interface.
interface ENOVIEventPlugin
Interface allowing to early subscribe to the event CreateLoginSession step After, before the creation of the Login Session.
Role : This unique entry point enables to postpone any additional subscription to any other event just
after the creation of the Login Session, i.e. when a safe transactional context is available.
All additional subscriptions have hence to be coded in the method onAfterCreateLoginSession of the subscriber class implementing the callback interface ENOVISessionEvent.AfterCreateLoginSession of the subscriber class implementing the callback interface .
This interface replaces the deprecated interface ENOVIPlugin since V5R13. It is strongly recommended that you migrate your existing code before the next release to comply with the new rules.
Usage : The implementation of ENOVIEventPlugin has to be an extension of a dummy late type :
CATImplementClass( MyEventPluginCode, DataExtension, CATBaseUnknown, MyDummyLateType );
#include "TIE_ENOVIEventPlugin.h"
TIE_ENOVIEventPlugin( MyEventPluginCode );
A new line is to be added to the dictionary :
MyDummyLateType ENOVIEventPlugin libWhere_MyEventPluginCode_Is
The only code
public virtual HRESULT Init( | const ENOVIEventManager_var& | iEventManager)= 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.