Adaptive communication application programming interface
First Claim
1. A method comprising:
- receiving a first request at a channel driver, whereinthe first request is received from a first device, andthe first request is received via a first channel that operates according to a first media type;
receiving a second request at the channel driver, whereinthe second request is received from a second device,the second request is received via a second channel that operates according to a second media type, andthe first and second media types are different from each other;
generating a first command in response to the receiving the first request, whereinthe generating the first command is performed by the channel driver; and
generating a second command in response to the receiving the second request, whereinthe generating the second command is performed by the channel driver, andthe first command and the second command are defined according to a single communication application programming interface.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for inter-module communication is disclosed. The method includes defining a command definition, wherein the command definition comprises commands for interfacing with a multi-channel, multi-media, communication queuing system. The command definition can include, for example, driver object commands to request media type lists and command event lists, create drivers, request service, and release drivers. The command definition can also include, for example, service object commands to release service objects, notify when handling of an event is complete, invoke commands, release work items, suspend work items, resume work items, handle queued events, and cancel queued events. The command definition can also include, for example, client object commands to start a work item, release work items, save work item contexts, restore work item contexts, serialize work items, free work item storage, begin batch processing, and end batch processing.
-
Citations
20 Claims
-
1. A method comprising:
-
receiving a first request at a channel driver, wherein the first request is received from a first device, and the first request is received via a first channel that operates according to a first media type; receiving a second request at the channel driver, wherein the second request is received from a second device, the second request is received via a second channel that operates according to a second media type, and the first and second media types are different from each other; generating a first command in response to the receiving the first request, wherein the generating the first command is performed by the channel driver; and generating a second command in response to the receiving the second request, wherein the generating the second command is performed by the channel driver, and the first command and the second command are defined according to a single communication application programming interface. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
at least one processor; and a computer-readable storage medium coupled to the at least one processor, the computer-readable storage medium comprising instructions executable by the at least one processor to; receive a first request at a channel driver, wherein the first request is received from a first device, and the first request is received via a first channel that operates according to a first media type; receive a second request at the channel driver, wherein the second request is received from a second device, the second request is received via a second channel that operates according to a second media type, and the first and second media types are different from each other; generate a first command in response to receiving the first request, wherein the generation of the first command is performed by the channel driver; and generate a second command in response to receiving the second request, wherein the generation of the second command is performed by the channel driver, and the first command and the second command are defined according to a single communication application programming interface. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium comprising:
-
a first set of instructions, executable by a processor, configured to receive a first request at a channel driver, wherein the first request is received from a first device, and the first request is received via a first channel that operates according to a first media type; a second set of instructions, executable by the processor, configured to receive a second request at the channel driver, wherein the second request is received from a second device, the second request is received via a second channel that operates according to a second media type, and the first and second media types are different from each other; a third set of instructions, executable by the processor, configured to generate a first command in response to receiving the first request, wherein the generation of the first command is performed by the channel driver; and a fourth set of instructions, executable by the processor, configured to generate a second command in response to receiving the second request, wherein the generation of the second command is performed by the channel driver, and the first command and the second command are defined according to a single communication application programming interface. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification