摘要 |
Apparatus and method for performing an application-defined operation on data as part of a system-defined operation on the data. The apparatus and met hod are embodied in a distributed transaction processing system in which processes running on component systems which may be heterogeneous interact according to the client-server model. In the apparatus and method, a type is associated with the data and application-defined operations which are part of certain system-defined operations are defined for each type. The system-defined operations which the application-defined operations are part of include allocation, reallocation, and deallocation of buffers and sending buffers between clients and servers using re mote procedure calls. In the allocation and reallocation operations, the applicationdefined operation is initialization; in the deallocation operation, it is uninitializati on. In buffer sending, the application-defined operations include operations done on th e buffer contents before sending, routing, encoding the buffer contents into a tra nsfer syntax, operations done on the buffer contents after sending, decoding the buffe r contents from the transfer syntax after receiving, and operations done on the bu ffer contents after receiving. Data structures in the processes associate the data an d its type and a type and its application-defined operations. Servers employ a shared bulletin board data structure to indicate the types they accept.
|