Patent ID: 6202098
Filing Date: 2001-03-13
Classification: G06F

Abstract:
A method in a data processing system for invoking a subroutine from within an object in an object oriented system, wherein the object oriented system includes a plurality of subroutines and a plurality of classes, wherein a subroutine from the plurality of subroutines is called from within an object using an address for the subroutine, the method comprising:creating a plurality of callback arrays associated with an object within the object oriented system, each callback array belonging to a different class within the plurality of classes and having at least one slot identified by an integer, the at least one slot containing an address for one of the plurality of subroutines;accepting a class identifier to identify one of the plurality of callback arrays;accepting an integer to select a slot within the callback array identified by the class identifier; andcalling a subroutine using the address located within the selected slot of the identified callback array, wherein the complexity of managing callbacks is reduced.