Patent ID: 6446078
Filing Date: 2002-09-03
Classification: G06F

Abstract:
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.