Message handling in data processing apparatus
First Claim
1. A data processing apparatus for executing two or more computer programs, said data processing apparatus including memory and processor means, said two or more computer programs each including a plurality of objects having data and program code for manipulating said data, said apparatus comprising:
- message path means for transferring a message between a sending and a receiving object, said message having a message type and message content, said message path means including a first message transfer means for transferring said message between objects within the same computer program and a second message transfer means for transferring said message to an object in a computer program different from the computer program of the sending object; and
message path selection logic external to said sending and receiving objects and responsive to said message type of said message being transferred by said message path means to select said first or second message transfer means for transferring said message between said objects.
0 Assignments
0 Petitions
Accused Products
Abstract
The invention concerns the transfer of messages between objects within an OOP program. Each message is transmitted to a message filter which then chooses the most appropriate mechanism to transmit that message to the destination object. The path chosen could be a system messaging technique for messages of a type to be transmitted anywhere within the computer or alternatively could be in the form of a direct call for messages to be transmitted to objects within the same program thread. The message path best suited to the message type and destination object is used to transmit the message.
-
Citations
25 Claims
-
1. A data processing apparatus for executing two or more computer programs, said data processing apparatus including memory and processor means, said two or more computer programs each including a plurality of objects having data and program code for manipulating said data, said apparatus comprising:
-
message path means for transferring a message between a sending and a receiving object, said message having a message type and message content, said message path means including a first message transfer means for transferring said message between objects within the same computer program and a second message transfer means for transferring said message to an object in a computer program different from the computer program of the sending object; and message path selection logic external to said sending and receiving objects and responsive to said message type of said message being transferred by said message path means to select said first or second message transfer means for transferring said message between said objects. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A method of operating a data processing system having a processor and memory and able to execute a plurality of computer programs each comprising a plurality of objects including data and code for manipulating said data, said data processing system having a plurality of message paths for transferring messages between objects within a computer program or in different computer programs, said method comprising the steps of:
-
generating a message between a first and a second of said plurality of objects, said message having a message type and message content; detecting, independent of said first or second objects, the message type of said generated message; and transferring said message between objects via one of said plurality of message paths in response to said detected message type.
-
-
24. An apparatus for executing a plurality of computer programs each comprising a plurality of objects including data and code for manipulating said data, said apparatus comprising:
-
generating means for generating a message for transferring between at least two of said plurality of objects, said message having a message type and message content; detecting means for detecting the message type of said generated message, said detecting means being independent of said at least two objects; and transferring means for transferring said message between objects via one of a plurality of message paths in response to said detected message type.
-
-
25. A method of routing messages in a computer system having a plurality of objects having data and program code for manipulating said data, said objects organized into a plurality of computer programs, said objects each generating messages to others of said objects to cause those other objects to execute, said messages having a message type and message content, the method comprising the steps of:
-
testing the message type to determine a destination object for said message type of message routing, said testing being performed external to the generating object; directly calling program code if said test determines the message is for an object within the same computer program as the object sending the message; and routing said message using a system message router if said test determines the message is for an object outside of the same computer program.
-
Specification