(1) A program module that transfers remote procedure calls (RPCs) and responses between a client and a server. Stubs perform marshalling, unmarshalling, and data format conversion. Both clients and servers have stubs. The Network Interface Definition Language (NIDL) compiler generates client and server stub code from an interface definition.
(2) A small module, link-edited into application code, that locates and transfers control to a larger body of related code.
(3) The two types of Remote Procedure Calls (RPCs) that are produced by the compiler when an interface is defined. The application code calls the stub, and the RPC mechanism translates this into a call to the appropriate function on the remote machine.
(4) A line in a state table that is only partially displayed.
(5) A small program routine that substitutes for a longer, possibly remote, program. For example, a stub might be a program module that transfers procedure calls (RPCs) and responses between a client and a server. In Web services, a stub is an implementation of a Java interface generated from a Web Services Definition Language (WSDL) document.
(6) A replica or Notes database copy that has not yet been filled with documents. The database is no longer a stub after the first replication takes place.
(7) A component containing functionality for testing purposes. A stub is either a pure "dummy", just returning some predefined values, or it is "simulating" a more complex behavior.
(8) A protocol extension procedure that connects with the library but remains outside the library.
创建者
- PWH617
- 100% positive feedback