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

Run-time message redirection for invoking object oriented methods based on alternate dispatch variable

Assignee: Sybase Inc
•
Filing: 1995-05-24
•
Granted: 1996-05-28
•
Expires: 2015-05-24
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Method and system for dispatching a message to an alternate object upon its failure to find a required method at the object to which originally sent. The method and system employ the technique of using alternate dispatch variables which can be provided with values naming the alternate objects to which the messages are to be dispatched upon failure of execution at the local object. The alternate object toward which the message is dispatched may contain a method required for execution by a message sent to a first object, but which is unfulfilled by absence of the desired method in the first object. The class of the first object establishes alternate dispatch variables which can be set at run-time by a user making entries in a graphical user interface (GUI) effective to cause redispatch of the message to the alternate object.

Inventors

  • 👤 Juan Guillen
  • 👤 James M. Leask

Bibliographic Details

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

Claims Analysis

Total Claims: 12
Claim 1
Independent Claim 304 words
In a system for creating and using an object-oriented program created from object-oriented source listings in a computer, the source listings comprising at least two object-oriented classes, each object-oriented class having data and methods, and the program operating in response to messages received by objects created from said object-oriented classes, a process for invoking a given method of a first object when a message seeking to invoke the given method is received by a second object, said first object being created from a first object-oriented class and said second object being created from a second object-oriented class, the process comprising: displaying representations of said first and second objects on a graphical user interface; receiving, during runtime execution of said program, user input for establishing a connection from said second object to first second object, so that messages for invoking methods of said first object can be received initially by said second object and then dispatched to said first object; in response to receiving said user input, storing in an alternate dispatch variable of said second object information describing the connection; upon receipt by said second object of a message calling a particular method, determining whether the particular method called is a method of said second object; if the particular method called is determined to be a method of said second object, executing the method at said second object; if the particular method called is determined not to be a method of the second object, dispatching said message from said second object to said first object, based on said information stored by said alternate dispatch variable of said second object which describes the connection from said second object to said first object; and if the particular method called is determined to be a method of said first object, executing the method at said first object.
Claim 2
Dependent Claim 304 words
In a system for creating and using an object-oriented program created from object-oriented source listings in a computer, the source listings comprising at least two object-oriented classes, each object-oriented class having data and methods, and the program operating in response to messages received by objects created from said object-oriented classes, a process for invoking a given method of a first object when a message seeking to invoke the given method is received by a second object, said first object being created from a first object-oriented class and said second object being created from a second object-oriented class, the process comprising: displaying representations of said first and second objects on a graphical user interface; receiving, during runtime execution of said program, user input for establishing a connection from said second object to first second object, so that messages for invoking methods of said first object can be received initially by said second object and then dispatched to said first object; in response to receiving said user input, storing in an alternate dispatch variable of said second object information describing the connection; upon receipt by said second object of a message calling a particular method, determining whether the particular method called is a method of said second object; if the particular method called is determined to be a method of said second object, executing the method at said second object; if the particular method called is determined not to be a method of the second object, dispatching said message from said second object to said first object, based on said information stored by said alternate dispatch variable of said second object which describes the connection from said second object to said first object; and if the particular method called is determined to be a method of said first object, executing the method at said first object.
Claim 3
Dependent Claim 18 words
The process according to claim 1, wherein said particular method is not associated with said first object-oriented class.
Claim 4
Dependent Claim 28 words
The process according to claim 1, wherein said particular method is associated with said first object-oriented class, so that said particular method is executed at said first object.
Claim 5
Dependent Claim 23 words
The process according to claim 1, further comprising sequencing alternate dispatch variables contained in an object to which a message has been sent.
Claim 6
Dependent Claim 28 words
The process according to claim 1, further comprising recognizing the presence of at least a single alternate dispatch variable associated with an object in receipt of a message.
Claim 7
Dependent Claim 19 words
The process according to claim 1, further comprising checking whether a particular alternate dispatch variable has an assigned value.
Claim 8
Dependent Claim 30 words
The process according to claim 6, wherein if a particular alternate dispatch variable is found without an assigned value, processing continues with a search for a next alternate dispatch variable.
Claim 9
Dependent Claim 45 words
The process according to claim 6, wherein an alternate dispatch variable is found with an assigned value and the alternate dispatch variable is effective in directing the message and its processing to an alternate object referenced by the value assigned to the alternate dispatch variable.
Claim 10
Dependent Claim 24 words
The process according to claim 8, wherein a check is conducted to determine whether the message sent to the alternate object has been understood.
Claim 11
Dependent Claim 24 words
The process according to claim 9, wherein the method associated with the particular message which has been directed to an alternate object is executed.
Claim 12
Dependent Claim 21 words
The process according to claim 9, wherein processing continues with a next alternate dispatch variable, if the message is not understood.

References Cited (Backward Citations)

US5369778A Cited
US5313633A Cited
US5280610A Cited
US5265206A Cited
US5283898A Cited
US5187786A Cited
US5361350A Cited
US5315703A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1999-05-28 1999-11-27 2000-05-28 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2003-05-28 2003-11-27 2004-05-28 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2007-05-28 2007-11-27 2008-05-28 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag