[The role of the Zeroc ICE stub file]



 

The role of ICE stub files

The compiler generates quite few source files for each Slice interface. In

general, for an interface <interface-name>, the following source files are created

by the compiler:

1) <interface-name>.java

This source file declares the <interface-name> Java interface.

 

2) <interface-name>Holder.java

This source file defines a holder type for the interface 

 

3) <interface-name>Prx.java

This source file defines the <interface-name>Prx interface 

 

4) <interface-name>PrxHelper.java

This source file defines the helper type for the interface’s proxy 

 

5) <interface-name>PrxHolder.java

This source file defines the a holder type for the interface’s proxy 

 

6) <interface-name>Operations.java

7)  _<interface-name>OperationsNC.java

These source files each define an interface that contains the operations corre-

sponding to the Slice interface.

These are the files that contain code that is relevant to the client side. The

compiler also generates a file that is specific to the server side, plus three addi-

tional files:

 

8) _<interface-name>Disp.java

This file contains the definition of the server-side skeleton class.

 

 

9) _<interface-name>Del.java

10) _<interface-name>DelD.java

11)  _<interface-name>DelM.java

These files contain code that is internal to the Java mapping; they do not

contain any functions of relevance to application programmers.

 

12) Callback_<interface-name>_<Method>.java



 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326940520&siteId=291194637