Connection status between Cloud and the Host Machine

Certified Associate Developer

Hi, communities

Please tell me about the connection status between "Appian RPA (Cloud)" and the Host Machine with "Appian RPA Agent" are installed.
When Appian Cloud instructs "RPA" processing from "Process", I think it's the flow of below,
    Cloud -----> Host Machine(Agent)
but how is this connection started in the first place?

---------------------------------------------
A) Just issue an order from the Cloud to the Host Machine
1. Session Start & RPA instructions
    Cloud -----> Host Machine(Agent)
---------------------------------------------
B) Agent initiates a session, and Cloud requests using that session
1. Session Start & stay connected
    Host Machine(Agent) -----> Cloud

2. RPA instructions
    Cloud -----> Host Machine(Agent)
---------------------------------------------
C) Other than those above

  Discussion posts and replies are publicly visible