PreviousNext

Manager Entry Point Vector

The manager Entry Point Vector (EPV) is an array of pointers to remote procedures.

The DCE IDL compiler automatically generates a manager EPV data type, into the header file generated by the IDL compiler, for use in constructing manager EPVs. The data type is named as follows:

if-name_vmajor-version_minor-version_epv_t

where

· The if-name variable is the interface identifier specified in the IDL file.

· The major-version variable is the interface's major-version number specified in the IDL file.

· The minor-version variable is the interface's minor-version number specified in the IDL file.

By default, the DCE IDL compiler automatically creates and initializes a manager EPV. DCE IDL creates this EPV assuming that a manager routine of the same name exists for each procedure in the interface (as specified in the IDL file).

The DCE IDL compiler can define a client Entry Point Vector with addresses of local routines. Client applications can call these routines.

If the server offers multiple implementations of the same interface, the server must create additional manager EPVs, one for each implementation. Each EPV must contain exactly one entry point (address of a function) for each procedure defined in the IDL file. The server application declares and initializes one manager EPV variable of type if-name_vmajor-version_minor-version_epv_t for each implementation of the interface.

The rpc_server_register_if( ) and rpc_server_inq_if( ) routines use the manager EPV data type and show the manager EPV argument as having an rpc_mgr_epv_t data type.