×

Methods of storing and depackaging attributes of an object

  • US 6,446,078 B1
  • Filed: 02/09/1999
  • Issued: 09/03/2002
  • Est. Priority Date: 03/05/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for sending an object, the object corresponding to a class, said class being part of an inheritance tree constituted by one or more classes, the method comprising:

  • providing a storage method in the one or more classes;

    defining a packet, including an address block, and a body;

    setting an index parameter to an initial value;

    recursively traversing the inheritance tree of the object by calling the respective storage method of any parent classes in the inheritance tree, incrementing the index parameter with each upward traversing step;

    during the traversing, when one of the classes encountered has no ancestor or has no ancestor yet to be encountered;

    determining a next free body address;

    writing, into the address block at a location based on a current value of the index parameter, an indicator of the determined next free body address; and

    writing a class identifier and any attributes of the one of the classes encountered into the body at the next free body address;

    ending the traversing after all of the classes in the inheritance tree of the object have been encountered; and

    sending the packet to send the object.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×