Initiating operations for applications via communication bridges
A method of communicating between applications is provided. The method includes establishing a communication bridge between a first application and a second application. The first application is located within a first computing device and the second application is located within a second computing device. The communication bridge comprises a set of communication channels. Each communication channel is associated with an application programing interface (API) function of the first application. The method also includes receiving, from the second application, a first request for the first application to perform a first operation. The method further includes providing the first request to the first application. The method further includes receiving a first result of the first operation from the first application. The method further includes providing the first result of the first operation to the second application.
1. A method, comprising:
establishing a communication bridge between a first application and a second application via a first bridge component and a second bridge component,
wherein:
the first application is located within a first computing device and the second application is located within a second computing device;
the communication bridge comprises a set of communication channels between the first computing device and the second computing device; and
each communication channel of the set of communication channels is associated with an application programing interface (API) function of the first application;
receiving, at the first bridge component from the second application via a first communication channel of the communication bridge, a first request for the first application to perform a first operation;
identifying, by the first component, a first API function of the first application based on an association between the first communication channel and the first API function of the first application;
executing by the first bridge component, the first API function to cause the first application to perform the first operation;
receiving, at the first bridge component, a first result of the first operation from the first application; and
providing, by the first bridge component, the first result of the first operation to the second application via the second bridge component.
2. The method of claim 1 , wherein:
the first computing device is within a first computing environment; and
the second computing device is not located within the first computing environment.
3. The method of claim 1 , wherein the second computing device is unable to execute the first application.
4. The method of claim 1 , wherein the first application communicates with a server to perform the first operation.
5. The method of claim 4 , wherein the second application does not communicate with the server.
6. The method of claim 1 , wherein:
the second computing device comprises a mobile computing device.
7. The method of claim 1 , further comprising:
establishing the communication bridge between the first application and the second application based on an authentication process.
8. The method of claim 1 , further comprising:
establishing a second communication bridge between the first application and a third application, wherein:
the third application is located within a third computing device;
the second communication bridge comprises a second set of communication channels; and
each communication channel of the second set of communication channels is associated with an application programing interface (API) function of the first application;
receiving, from the third application via a second communication channel of the second communication bridge, a second request for the first application to perform a second operation;
providing the second request to the first application;
receiving a second result of the second operation from the first application; and
providing the second result of the second operation to the third application.
9. The method of claim 1 , further comprising:
receiving, from the second application via a second communication channel of the communication bridge, a second request for the first application to perform a second operation;
providing the second request to the first application;
receiving a second result of the second operation from the first application; and
providing the second result of the second operation to the second application.
10. The method of claim 1 , further comprising establishing the communication bridge between the first application and the second application based on a link included in a message communicated between the first bridge component and the second bridge component.
11. A method, comprising:
establishing a communication bridge between a first application and a second application via a first bridge component and a second bridge component,
wherein:
the first application is located within a first computing device and the second application is located within a second computing device;
the communication bridge comprises a set of communication channels between the first computing device and the second device; and
each communication channel of the set of communication channels is associated with an application programing interface (API) function of the first application;
determining, at the second bridge component, that the second application is requesting the first application to perform a first operation;
identifying, by the second bridge component, a first communication channel of the set of communication channels based on an association between the first communication channel and operation;
transmitting, by the second bridge component, a first request to the first application to perform the first operation via the first communication channel of the communication bridge; and
receiving, at the second bridge component, a first result of the first operation from the first application via the communication bridge.
12. The method of claim 11 , wherein:
the first computing device is within a first computing environment; and
the second computing device is not located within the first computing environment.
13. The method of claim 11 , wherein the second computing device is unable to execute the first application.
14. The method of claim 11 , wherein the first application communicates with a server to perform the first operation.
15. The method of claim 14 , wherein the second application does not communicate with the server.
16. The method of claim 11 , further comprising:
establishing the communication bridge between the first application and the second application based on an authentication process.
17. The method of claim 11 , further comprising:
establishing a second communication bridge between a first application and a third application, wherein:
the first application is located within a first computing device and the third application is located within a third computing device;
the second communication bridge comprises a second set of communication channels; and
each communication channel of the second set of communication channels is associated with an application programing interface (API) function of the third application;
determining that the second application is requesting the third application to perform a second operation;
transmitting a second request to the third application via a second communication channel of the second communication bridge; and
receiving a second result of the second operation from the third application via the second communication bridge.
18. The method of claim 11 , further comprising:
determining that the second application is requesting the first application to perform a second operation;
transmitting a second request to the second application via a second communication channel of the communication bridge; and
receiving a second result of the second operation from the second application via the communication bridge.
19. A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processing device, cause the processing device to perform operations comprising:
establishing a communication bridge between a first application and a second application via a first bridge component and a second bridge component, wherein:
the first application is located within a first computing device and the second application is located within a second computing device;
the communication bridge comprises a set of communication channels between the first computing device and the second computing device; and
each communication channel of the set of communication channels is associated with an application programing interface (API) function of the first application;
receiving, at the first bridge component from the second application via a first communication channel of the communication bridge, a first request for the first application to perform a first operation;
identifying, by the first bridge component, a first API function of the first application based on an association between the first communication channel and the first API function of the first application;
executing by the first bridge component, the first API function to cause the first application to perform the first operation;
receiving, at the first bridge component, a first result of the first operation from the first application; and
providing, by the first bridge component, the first result of the first operation to the second application via the second bridge component.
20. The method of claim 11 , further comprising establishing the communication bridge between the first application and the second application based on a link included in a message communicated between the first bridge component and the second bridge component.