Method and system for converting a remote procedure call to a local procedure call when the service is on the same device as the calling client
    1.
    发明授权
    Method and system for converting a remote procedure call to a local procedure call when the service is on the same device as the calling client 失效
    当服务与主叫客户端在同一设备上时,将远程过程调用转换为本地过程调用的方法和系统

    公开(公告)号:US06728788B1

    公开(公告)日:2004-04-27

    申请号:US09464842

    申请日:1999-12-16

    IPC分类号: G06F946

    CPC分类号: G06F9/547 G06F9/4486

    摘要: A client process resides on a host computer within a distributed data processing system, and the client process requests a remote procedure call for a service procedure. A binding handle of a server process is obtained; a determination is made as to whether the binding handle of the server process points to the client process; and in response to a determination that the binding handle of the server process points to the client process, a positive indication is generated that the service procedure is provided by the client process. In response to a determination that the service procedure is provided by the client process, the service procedure is called using a local procedure call after obtaining a local address for the function within the client process by looking up the service procedure in an interface registry.

    摘要翻译: 客户端进程驻留在分布式数据处理系统中的主机上,并且客户端进程请求远程过程调用以进行服务过程。 获取服务器进程的绑定句柄; 确定服务器进程的绑定句柄是否指向客户端进程; 并且响应于服务器进程的绑定句柄指向客户端进程的确定,生成服务过程由客户端进程提供的肯定指示。 响应于确定服务过程由客户端进程提供,在通过在接口注册表中查找服务过程来获取客户端进程中的功能的本地地址之后,使用本地过程调用来调用服务过程。