← Back to Patent Explorer
US5600838A Expired / Lapsed US ⏱️ 0.0 years remaining

Object oriented dispatch and supercall process and arrangement

Assignee: Sybase Inc
•
Filing: 1995-06-07
•
Granted: 1997-02-04
•
Expires: 2015-06-07
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Method and arrangement for dispatching messages between instance specific dispatch tables of objects, when a particular object does not have resident the method called for execution in response to a message directed toward it. When a message is sent to a first object and the method called for execution is not resident or associated with the first object, the first object may expressly reference another object of the same class which may contain the required method. The message is according dispatched to another instance specific dispatch table associated with an object which may be able to execute the method called for by the message initially transmitted. Upward chaining between instance, class, and superclass level dispatch tables, and method supercalls canceling the effect of method overriding by instance level methods are included in the method and arrangement.

Inventors

  • 👤 Juan Guillen
  • 👤 James M. Leask

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 14:19
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/44; G06F9/448; G06F9/4488; G06F9/449

Claims Analysis

Total Claims: 15
Claim 1
Independent Claim 224 words
A computer system having an object oriented arrangement for responding to receipt of a message referring to a selected method, said computer system having an object oriented arrangement comprising: (a) a computer for storing a class for creating instances of objects, said class having a plurality of class methods and a class dispatch table for accessing particular ones of said class methods in response to receipt of particular messages:. (b) first and second objects, instantiated from said class and inheriting said class methods of said class, said first and second objects further being associated with respective first and second instance-specific dispatch tables, said first and second instance-specific dispatch tables existing apart from said class dispatch table, each of said instance-specific dispatch tables containing a predetermined plurality of messages relating to the objects with which the respective instance-specific dispatch tables are associated; (c) interconnection means for connecting said first and second instance-specific dispatch tables together, so that at least one message can be referred from one instance-specific table to another; and (d) first pointer means, operably coupled to said interconnection means, for referring a message sent to said first object to said second object for possible execution, when a search of the first instance-specific dispatch table reveals that a method called for execution by said message is not contained in the first instance-specific dispatch table.
Claim 2
Dependent Claim 224 words
A computer system having an object oriented arrangement for responding to receipt of a message referring to a selected method, said computer system having an object oriented arrangement comprising: (a) a computer for storing a class for creating instances of objects, said class having a plurality of class methods and a class dispatch table for accessing particular ones of said class methods in response to receipt of particular messages:. (b) first and second objects, instantiated from said class and inheriting said class methods of said class, said first and second objects further being associated with respective first and second instance-specific dispatch tables, said first and second instance-specific dispatch tables existing apart from said class dispatch table, each of said instance-specific dispatch tables containing a predetermined plurality of messages relating to the objects with which the respective instance-specific dispatch tables are associated; (c) interconnection means for connecting said first and second instance-specific dispatch tables together, so that at least one message can be referred from one instance-specific table to another; and (d) first pointer means, operably coupled to said interconnection means, for referring a message sent to said first object to said second object for possible execution, when a search of the first instance-specific dispatch table reveals that a method called for execution by said message is not contained in the first instance-specific dispatch table.
Claim 3
Dependent Claim 21 words
The computer system of claim 1, wherein said first pointer means includes a pointer stored in said first instance-specific dispatch table.
Claim 4
Dependent Claim 57 words
The computer system of claim 1, further comprising second pointer means for referring a particular message sent to said second object to said first object for possible execution, when a search of the second instance-specific dispatch table reveals that a method called for execution by said particular message is not contained in the second instance-specific dispatch table.
Claim 5
Dependent Claim 21 words
The computer system of claim 3, wherein said second pointer means includes a pointer stored in said second instance-specific dispatch table.
Claim 6
Dependent Claim 20 words
The computer system of claim 1, wherein said method is found in said second instance-specific dispatch table and is executed.
Claim 7
Dependent Claim 16 words
The computer system of claim 1, further comprising means for referring to said class dispatch table.
Claim 8
Dependent Claim 14 words
The computer system of claim 6, wherein said means for referring includes a supercall.
Claim 9
Dependent Claim 24 words
The computer system of claim 7, wherein said supercall is a statement in a method called by a message sent to said first object.
Claim 10
Dependent Claim 184 words
A computer-implemented method for executing instance-specific methods created from a single class, said computer-implemented method comprising: (a) establishing a class for creating a plurality of objects in a selected computer system which has been adapted to operate object oriented programs, said class having class methods and a class dispatch table containing method addresses for invoking selected methods of the class, (b) creating at least first and second objects from said class, each object being associated with an instance-specific dispatch table for containing method addresses of selected methods of said each object, (c) linking the instance-specific dispatch tables for said first and second object, (d) associating a selected method of said first object with said instance-specific dispatch table of said first object for causing the first object receiving the selected message to search the instance-specific dispatch table of said first object and executing said selected method if found in the instance-specific dispatch table of said first object, and (e) searching the instance-specific dispatch table of said second object for said selected method, and executing the selected method, if found in said second instance-specific dispatch table.
Claim 11
Dependent Claim 184 words
A computer-implemented method for executing instance-specific methods created from a single class, said computer-implemented method comprising: (a) establishing a class for creating a plurality of objects in a selected computer system which has been adapted to operate object oriented programs, said class having class methods and a class dispatch table containing method addresses for invoking selected methods of the class, (b) creating at least first and second objects from said class, each object being associated with an instance-specific dispatch table for containing method addresses of selected methods of said each object, (c) linking the instance-specific dispatch tables for said first and second object, (d) associating a selected method of said first object with said instance-specific dispatch table of said first object for causing the first object receiving the selected message to search the instance-specific dispatch table of said first object and executing said selected method if found in the instance-specific dispatch table of said first object, and (e) searching the instance-specific dispatch table of said second object for said selected method, and executing the selected method, if found in said second instance-specific dispatch table.
Claim 12
Dependent Claim 47 words
The method according to claim 9, further comprising searching said class dispatch table for said selected method if said selected method is not found in the instance-specific dispatch tables of said first and second objects, and executing said selected method if found in said class dispatch table.
Claim 13
Dependent Claim 19 words
The method according to claim 10, further comprising executing said selected method if found in said class dispatch table.
Claim 14
Dependent Claim 135 words
An object system for executing, in response to receipt of particular messages, methods on a general purpose computer, said system comprising: (a) a computer comprising first and second objects, and further comprising respectively first and second instance specific dispatch tables each in turn able to include methods for execution upon receipt of a message calling for execution of the indicated method, said first object including a first selected method in said first instance specific dispatch table, (b) means for referring a message from said first instance specific dispatch table to said second instance specific dispatch table when said first instance specific dispatch table does not include a method called for execution by said message, and (c) means for executing said method called for by said message upon receipt by said second instance specific dispatch table.
Claim 15
Dependent Claim 135 words
An object system for executing, in response to receipt of particular messages, methods on a general purpose computer, said system comprising: (a) a computer comprising first and second objects, and further comprising respectively first and second instance specific dispatch tables each in turn able to include methods for execution upon receipt of a message calling for execution of the indicated method, said first object including a first selected method in said first instance specific dispatch table, (b) means for referring a message from said first instance specific dispatch table to said second instance specific dispatch table when said first instance specific dispatch table does not include a method called for execution by said message, and (c) means for executing said method called for by said message upon receipt by said second instance specific dispatch table.

References Cited (Backward Citations)

US5303379A Cited
US5265206A Cited
US5291593A Cited
US5187786A Cited
US5287447A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2000-02-04 2000-08-05 2001-02-04 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2004-02-04 2004-08-05 2005-02-04 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2008-02-04 2008-08-05 2009-02-04 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag