CPC H04L 67/60 (2022.05) [H04L 67/01 (2022.05); H04L 67/10 (2013.01); H04L 67/141 (2013.01); H04L 67/55 (2022.05)] | 28 Claims |
1. A method for handling request-response command protocols using a unidirectional communication connection between a first gateway of a first computing environment and a second gateway of a second computing environment, the method comprising:
at the first computing environment:
establishing, in response to receiving one or more connection requests initiated by the second gateway, the unidirectional communication connection and a bidirectional communication connection between the first gateway and the second gateway, wherein the unidirectional communication connection carries all request messages initiated by the first gateway but does not permit response messages to be returned from the second gateway to the first gateway;
generating, by a first component of the first computing environment, a command request message directed to a second component of the second computing environment;
in accordance with determining that the unidirectional communication connection is open, pushing, from the first component to the second gateway, the command request message via the unidirectional communication connection, wherein a token indicating routing information to the first component is embedded in the pushed command request message and wherein the second gateway does not accept request messages that are initiated by the first computing environment and received via the bidirectional communication connection;
receiving, at the first gateway via the bidirectional communication connection, a command response message from the second gateway, wherein the command response message includes the token and data associated with executing the command request message at the second computing environment, wherein the data is log data or application data generated by the second computing environment; and
sending, based on the token, the command response message to the first component.
|