指定机器人服务是否应订阅 Orchestrator 的 SignalR 通道,并配置最适合您的传输协议。这些设置在升级后保留。
SignalR (机器人)
| 字段 | 描述 |
|---|---|
|
已启用 |
此开关用于指定机器人服务是否订阅 Orchestrator 的 SignalR 通道。默认情况下,此设置处于启用状态,并且选择所有可用通道:
When all transport channels are enabled, the best available transport is automatically selected, in the following priority order: WebSocket > Server-Sent Events > Long Polling. If the first protocol is not available for any reason, the next in line (if enabled) is used to facilitate the communication between Orchestrator and Robot. |
|
WebSocket |
如果选择此选项,将使用 WebSocket 传输协议将机器人连接到 Orchestrator 的 SignalR 通道。这是优先级最高的协议,因为其性能出色,并且支持机器人服务与 Orchestrator 的双向同步通信。 If the SignalR (Robots) feature is not enabled, WebSocket becomes the only available transport protocol. |
|
服务器发送事件 (SSE) |
如果选择此选项,将使用“服务器发送事件 (SSE)”推送技术将机器人连接到 Orchestrator 的 SignalR 通道。这是 WebSocket 由于任何原因不可用时的首选备用传输协议。 如果未启用“SignalR(机器人)”功能,则无法使用此选项。 |
|
长轮询 |
如果选择此选项,将使用长轮询传输协议将机器人连接到 Orchestrator 的 SignalR 通道。如果 WebSocket 和 SSE 都不可用,则使用此协议。 如果未启用“SignalR(机器人)”功能,则无法使用此选项。 |