- 1 -1. DCE Remote Procedure CallThe DCE Remote Procedure Call (RPC) facility is a network protocol used in distributed systems. RPC ismodeled after
- 10 -dce-root-dir/dce/src/rpc/sys_idl/idlbase.hheader file, conditionally control various aspects of the IDL API:• IDL_NO_PROTOTYPESDefine IDL_NO_PROTO
- 11 -RPC_SS_THREADS_CONDITION_CREATERPC_SS_THREADS_CONDITION_DELETERPC_SS_THREADS_CONDITION_SIGNALRPC_SS_THREADS_CONDITION_TRPC_SS_THREADS_CONDITION_
- 12 -If you do not have such an interface or cannot get the number, you will have to produce your own wayto generate a unique number. IEEE will sell
- 13 -This currently governs including certain Internet include files. See ipnaf.h and twr*.c files.ATFORK_SUPPORTEDIf a fork handler is available, this
- 14 -Not used, although present in:dce-root-dir/dce/src/rpc/runtime/TARGET_MACHINE/sysconf.hRPC_NLS_FORMATNot used, although present in:dce-root-dir/
- 15 -The code that enables remote endpoint access is still present in the source, however, and it can be enabledor disabled by defining or undefining t
- 16 -The DSM does not currently itself provide mutual exclusion, although it must be used in such a context(the caller is currently assumed to do the
- 17 -3. Building and LinkingThedce-root-dir/dce/src/rpc/runtime/Makefilemay be used to configure libnck.a for various combinations of network protocol
- 18 -4. Setup, Testing, and VerificationMake sure that the rpcd endpoint map service is running.Change to the/opt/dce1.1/bindirectory and enterrpcdto
- 19 -See thedce-root-dir/dce/src/test/rpc/runtime/perf/READMEfile for further information, including information about several scripts that can be use
- 2 -determine what limitations the implementation has.You should also instruct users of any library you develop that uses RPC to refer to the vendor’
- 20 -and terminate.principal Specifies the principal name of the server to use when authenticating remoteprocedure calls. The content of the name and
- 21 --D This optional parameter specifies the default level of debug output.-i This optional parameter causes statistics to be dumped at the end of th
- 22 -2ServerperformsauthorizationcheckingusingtheclientDCEprivilegeattribute certificate (PAC) information sent to the server with eachremote procedur
- 23 -7Callunregisteredserverinterface8Forwardingtest9 Exception test10 Slow call11 Shutdown server12 Callback (Note: This test is not supported.)13 G
- 24 -network_address is the network address of the server, and port is the portthe server is listening to.passesSpecifies the number of times to run t
- 25 -5. RPC Runtime Output and Debugging OutputThe RPC component outputs server information of all kinds via the DCE serviceability component. Thefo
- 26 -• TEXTFILEWrite these messages as human-readable text• FILEEquivalent to TEXTFILE• DISCARDDo not record messages of this severity level• STDOUTW
- 27 -Specifies that:• Fatal error messages should be sent to the console.• Warnings should be discarded.• Notices should be written both to standard e
- 28 -recv RPC receive messagesdg_state RPC DG state messagescancel RPC cancel messagesorphan RPC orphan messagescn_state RPC CN state messagescn_pkt
- 29 -that you specify. RPC_SUPPORTED_PROTSEQSis an environment variable tested at RPC startup bycode in:dce-root-dir/dce/src/rpc/runtime/cominit.cIt
- 3 -2. PortingOSFTMDCE Version 1.1 contains DCE RPC code ported to the reference platforms listed in Chapter 1 ofthis guide. As you port RPC to a di
- 30 -6. Some RPC Questions and AnswersThis section contains several RPC questions and answers that have arisen during DCE porting andapplication dev
- 4 -• message.cThis file contains a layer of message catalog routines specific to the IDL compiler. If you do not have amessage catalog system, you mus
- 5 -#define HASPOPEN if your system supports the popen( ) call.IDL_PROTOTYPESDefined if IDL should use prototypes.IDL_VERSION_TEXTVersion string for ID
- 6 -USER_INCLUDE_TEMPLATEis defined as:#include <%s>2.1.2 Definitions for lex and yacc The IDL compiler uses lex and yacc to parse interface defi
- 7 -TABLE 2. idlbase.h and <TARGET_MACHINE>/ndrtypes.h Defines__ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- 8 -rpc_marshall_long_intrpc_marshall_short_floatrpc_marshall_short_intrpc_marshall_small_intrpc_marshall_uhyper_intrpc_marshall_ulong_intrpc_marshall
- 9 -rpc_unmarshall_ushort_intrpc_unmarshall_usmall_intrpc_unmarshall_v1_enum• USE_DEFAULT_MP_REPControls the definition of a type and the macros which
Kommentare zu diesen Handbüchern