首页>
外国专利>
System for writing main memory address of object to secondary storage when storing object and reading main memory address of object when retrieving object from secondary storage
System for writing main memory address of object to secondary storage when storing object and reading main memory address of object when retrieving object from secondary storage
A method and system for interconnecting software components. In a preferred embodiment, the present invention instantiates an event object. The event object includes message information describing the message and a dispatching member function for invoking a member function of a target object passing the message information. A message is passed by invoking the dispatching member function of the event object passing an identifier to a target object and an identifier of a member function of the target object. The dispatching member function invokes the identified member function of the identified target object passing the event information as an actual parameter. The event object is preferably of a derived class that inherits a base class. The base class provides common event behavior, while the derived class provides behavior specific to a type of message.
展开▼