Adapter to drive.
Node to connect to.
Local transport metadata (baseUrl, securityType, pop,
username).
Optionaloptions: ESPLocalControlSessionOptionsSession endpoints for the protocol in use; omitted for the adapter's built-in default paths.
Connection attempts before failing.
Ensures a usable local-control session for
nodeId, connecting (with retries) when the adapter reports none.The adapter resolves on a successful handshake and rejects otherwise, so a resolved
connectis treated as connected.