×

Method for packing/unpacking C operations to/from RPC compatible format using the RPC protocol to operate remotely with an object-oriented repository

  • US 6,105,073 A
  • Filed: 05/30/1996
  • Issued: 08/15/2000
  • Est. Priority Date: 05/30/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system having a server including a CPU, a memory, at least one disk drive and an object-oriented repository, a client remotely located from said server and connected thereto by means of an RPC link, said client including a CPU, a memory, at least one disk drive, and a program operating with said Server for remotely accessing a model stored in said object-oriented repository, said program executing a method for packing and unpacking C functions to and from, respectively, RPC compatible format using RPC protocol, said program comprising the steps of:

  • a. for each type in said model, determining if a current one of said types is valid for C binding, and if so;

    b. generating function numbers for said current type, including;

    1) generating object initializer function numbers for said current type;

    2) determining if there are more properties for said current type, and if so;

    3) for each property for said current type, determining if a current one of said properties is valid for C binding, and if so;

    4) generating accessor function numbers for said current property;

    5) determining if said current property is not read-only, and if so;

    6) generating mutator function numbers for said current property;

    7) if there are no more properties for said current type, determining if there are more operations for said current type, and if so;

    8) for each operation for said current type, determining if a current one of said operations is valid for C binding, and if so;

    9) resolving operation name for said current operation;

    10) generating operation numbers for said current operation;

    11) if there are no more operations for said current type, generating special function numbers for said current type; and

    ,12) returning to said program at step b hereof;

    c. generating C client interface packing functions for said current type;

    d. generating C server interface unpacking functions for said current type;

    e. determining if there are more of said types in said model, and if so, repeating steps a through e hereof;

    f. if there are no more types, then;

    g. for each data type in said model, determining if a current one of said data types is valid for C binding, and if so;

    h. generating C function numbers for said current data type;

    i. generating C client interface packing functions for said current data type;

    j. generating C server interface unpacking functions for said current data type;

    k. determining if there are more data types in said model, and if so, repeating steps h through m hereof; and

    ,l. if there are no more data types in said model, stopping said program.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×