Generating asynchronous interfaces and methods from synchronous interfaces and methods
First Claim
Patent Images
1. A method implemented in a computer system, comprising:
- receiving, by the computer system, a synchronous interface to a target component having a synchronous method used by a client component to synchronously invoke the target component;
generating, by the computer system, an asynchronous interface for the synchronous interface of the target component; and
generating, by the computer system, an asynchronous method for the generated asynchronous interface having arguments to invoke the target component, wherein the client calls the generated asynchronous method to cause an asynchronous execution of operations of the synchronous method and to enable the client component and the target component to interact in an asynchronous manner.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, system, and program for generating asynchronous interfaces and methods from synchronous interfaces and methods receiving a synchronous interface to a target component having a synchronous method used by a client component to synchronously invoke the target component. An asynchronous interface is generated for the synchronous interface of the target component. An asynchronous method is generated for the generated asynchronous interface having arguments to invoke the target component, wherein the client calls the generated asynchronous method to cause an asynchronous execution of the synchronous method.
70 Citations
31 Claims
-
1. A method implemented in a computer system, comprising:
-
receiving, by the computer system, a synchronous interface to a target component having a synchronous method used by a client component to synchronously invoke the target component; generating, by the computer system, an asynchronous interface for the synchronous interface of the target component; and generating, by the computer system, an asynchronous method for the generated asynchronous interface having arguments to invoke the target component, wherein the client calls the generated asynchronous method to cause an asynchronous execution of operations of the synchronous method and to enable the client component and the target component to interact in an asynchronous manner. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for use in the development of a client component and a target component, comprising:
-
a processor; a computer readable storage medium having code that is executed by the processor to perform operations, the operations comprising; receiving a synchronous interface to the target component having a synchronous method used by a client component to synchronously invoke the target component; generating an asynchronous interface for the synchronous interface of the target component; and generating an asynchronous method for the generated asynchronous interface having arguments to invoke the target component, wherein the client calls the generated asynchronous method to cause an asynchronous execution of operations of the synchronous method and to enable the client component and the target component to interact in an asynchronous manner. - View Dependent Claims (15, 16, 17, 18)
-
-
19. An article of manufacture comprising a computer readable storage medium for use in the development of a client component and a target component, wherein the code in the computer readable storage medium is executed to cause operations, the operations comprising:
-
receiving a synchronous interface to a target component having a synchronous method used by a client component to synchronously invoke the target component; generating an asynchronous interface for the synchronous interface of the target component; and generating an asynchronous method for the generated asynchronous interface having arguments to invoke the target component, wherein the client calls the generated asynchronous method to cause an asynchronous execution of operations of the synchronous method and to enable the client component and the target component to interact in an asynchronous manner. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31)
-
Specification