All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---ENOVIObjectServiceCode
Usage: you can freely reimplement this interface.
interface ENOVIObjectServiceCode
Interface to execute server code invoked with RunObjectService from (CATIA) client.
Role:Provide Customer Interface to implement a new service.
The client model is one element of the MVC paradigm deployed on the client side.
It is bridged with the server model by the means of CORBA-based protocol,
and provide support for mapping of objects between client and server.
public virtual HRESULT RunObjectServiceCode( | CATLISTV(CATBaseUnknown_var)& | iObjectIds, |
const char* | ipString, | |
CATLISTV(CATBaseUnknown_var)& | oObjectIds, | |
char** | opString) = 0 |
this infrastructure does the marshalling of input and output arguments between the 2 process.
It does the adequate RPC call in the server and executing the service in calling the ENOVIObjectServiceCode
using the service name as an object late type
Notice to the service userIt is strongly adviced not to modify object through a server service
when the corresponding object is already loaded in client through long transaction.
Instead the client modeler has to be used for client modification
Notice to the service implementer on server: A server OM object need to be implemented on server side
whose late type is the exact name of the invokable service.
This server object must implement interface ENOVIObjectServiceCode by which the execution takes place.
The Execution of the service only operates in a short transaction mode.
It cannot operates if server already contain uncomited information.
In case of modification achieved in the server by the service, modifications will be automatically comitted by the infrastructure
otherwise if service fails to execute, a rollback will be insured by the infrastructure
Copyright © 2003, Dassault Systèmes. All rights reserved.