DCE for the HP e3000 (B3821-90003)
Chapter 6 53
Introduction to RPC
DCE-IDL Compiler for RPC 1.2.1
corresponding dimension is determined at runtime. Not all <attr_var>s
in a min_is clause can be null. Below are examples of the syntax.
Assume values of variables are as follows: long a = -10; long b = -20;
long c = -30; long d = 15; long e = 25.
• min_is(a)] long g1[*..10]; /* g1[-10..10] */
• [min_is(a)] long g2[*..10][4]; /* g2[-10..10][0..3] */
• [min_is(a,b)] long g3[*..10][*..20]; /* g3[-10..10][-20..20] */
• [min_is(,b)] long g4[2][*..20]; /* g4[0..1][-20..20] */
• [min_is(a,,c)] long g5[*..7][2..9][*..8]; /* g5[-10..7][2..9][-30..8] */
• [min_is(a,b,)] long g6[*..10][*..20][3..8]; /* g6[-10..10][-20..20][3..8] */
• [max_is(,,e),min_is(a)] long g7[*..1][2..9][3..*]; /*
g7[-10..1][2..9][3..25] */
• [min_is(a,,c),max_is(,d,e)] long g8[*..1][2..*][*..*];/*
g8[-10..1][2..15][-30..25] */
Support for IDL Encoding Services
This extension to the IDL stub compiler will enable instances of one or
more data types to be encoded into and decoded from a byte stream
format suitable for persistent storage without invoking RPC Runtime.
The encode and decode attributes are used in conjunction with IDL
Encoding service routines (idl_es*) to enable RPC applications to
encode datatypes in input parameters into a byte stream and decode
datatypes in output parameters from a byte stream without invoking
the RPC runtime. Encoding and decoding operations are analogous to
marshaling and unmarshalling, except that the data is stored locally
and is not transmitted over the network.
Support for User Defined Exceptions
This extension to the IDL compiler will allow specification of a set of
user-defined exceptions that may be generated by the server
implementation of the interface. If an exception occurs during the
execution of the server, it terminates the operation and the exception is
propagated from server to client.
Support for Customized Binding Handles
This allows the application developer to add some information that the
application wants to pass between the client and server. This can be
used when application-specific data is appropriate to use for finding a
server and the data is needed as a procedure parameter.