Browse Prior Art Database

Making Asynchronous Communication Look the Same as Normal Method Calls

IP.com Disclosure Number: IPCOM000111477D
Original Publication Date: 1994-Feb-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 2 page(s) / 54K

Publishing Venue

IBM

Related People

Dietel, JD: AUTHOR [+3]

Abstract

Disclosed is a method for making asynchronous communication between software entities look the same as normal method calls using object-oriented techniques.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 75% of the total text.

Making Asynchronous Communication Look the Same as Normal Method Calls

      Disclosed is a method for making asynchronous communication
between software entities look the same as normal method calls using
object-oriented techniques.

      Asynchronous communication between program entities (tasks,
threads, objects, others) is a common requirement.  Consider a
client-server relationship in which the client wishes to invoke some
function on the server and be notified asynchronously when the
function has completed.  In traditional programming systems client
accomplishes this by sending messages to the server's queue.  The
client must have knowledge of the server's queue, how to send the
message, and what the  message format looks like in order to pass the
message.  This knowledge introduces undesirable interfaces between
the server and the client.  Also, this makes it difficult to change
the server code without impacting the client.

      This invention removes the knowledge of queues and how to send
messages on the queue from the client.  The client will always do the
same for asynchronous communication as it does for normal call/return
implementation.

The Figure provided shows the concept.  Following is a pseudo code
example:

      The solution to this problem is easily implemented in an
object-oriented environment that provides encapsulation, inheritance,
and polymorphism, and so will be described using OO terminology.

ASYNCHRONOUS METHOD CALLS -...