Distributed Program Generation(rpcgen Concept) Chuan-Ming liu CSIE NTUT Spring 04, TAIWAN
1 Distributed Program Generation (rpcgen Concept) Chuan-Ming Liu CSIE, NTUT Spring ’04, TAIWAN
Introduction )Focuses on the structure of programs that use RPC, and shows how program can be divided along procedure boundaries INtroduces the stub procedure concept and a program generator tool that automates much of the code generation associated with ONC RPC DIt also discusses a library of procedures that makes it easy to build servers that offer remote procedures and clients that call them
2 Introduction Focuses on the structure of programs that use RPC, and shows how program can be divided along procedure boundaries Introduces the stub procedure concept and a program generator tool that automates much of the code generation associated with ONC RPC It also discusses a library of procedures that makes it easy to build servers that offer remote procedures and clients that call them
Using rPcs D The RPC model is general )A programmer can choose to use the remote procedure paradigm in any of the tollowing ways DAS a program specification techniques only D For both program specifications and as an abstraction during program design
3 Using RPCs The RPC model is general A programmer can choose to use the remote procedure paradigm in any of the following ways: As a program specification techniques only For both program specifications and as an abstraction during program design
Using rPcs(cont) O For the conceptual design and explicitly in the implementation D For design and implementation, constructing all software from scratch D For design and implementation, using standard libraries D For an automated implementation
4 Using RPCs (cont.) For the conceptual design and explicitly in the implementation For design and implementation, constructing all software from scratch For design and implementation, using standard libraries For an automated implementation
Programming mechanisms to Support RPC IMplementations of ONC RPC provide significant help for those who wish to avoid unnecessary programming ASsistance comes in four forms D XDR library routines that convert individual data items from internal form to the Xdr standard external representation
5 Programming Mechanisms to Support RPC Implementations of ONC RPC provide significant help for those who wish to avoid unnecessary programming Assistance comes in four forms: XDR library routines that convert individual data items from internal form to the XDR standard external representation