All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

System Interface CATIUExitAutoDisconnection

System.IUnknown
  |
  +---CATIUExitAutoDisconnection
 

Usage: you can freely reimplement this interface.


interface CATIUExitAutoDisconnection

This is the interface of the AutoDisconnection User Exit.
Role: This interface is an user exit, that allows a customer administrator or user (at administrator convenience) to perform specific operation before the automatic disconnection of a CATIA Session In particular this allow the administrator or user to decide if the disconnection may occur.
This interface must be implemented on the CATUExittAutoDisconnection component by creating a data extension of this object.


Method Index


o OnDisconnection(int*)
This method will be called when the automatic disconnection processus is triggered.

Methods


o OnDisconnection
public virtual HRESULT OnDisconnection(int* oDisconnectionAllowed)=0
This method will be called when the automatic disconnection processus is triggered.
Role: This method allows the administrator/user to perform some operations when the automatic disconnection processus is triggered but before the effective session termination. It allows the administrator/user to take into account parameters unknown to the V5 application to decide if the processus termination must occur or not.
Parameters:
oDisconnectionAllowed
2 values possible:
  • CATIUExitDisconnectionForbidden :if the termination must NOT occur.
  • CATIUExitDisconnectionAuthorized :if the termination may occur.

This object is included in the file: CATIUExitAutoDisconnection.h
If needed, your Imakefile.mk should include the module: JS0GROUP

Copyright © 2003, Dassault Systèmes. All rights reserved.