19 lines
757 B
C#
19 lines
757 B
C#
using Microsoft.AspNetCore.SignalR;
|
|
using ZB.MOM.WW.OtOpcUa.Commons.Messages.Fleet;
|
|
|
|
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Hubs;
|
|
|
|
/// <summary>
|
|
/// Browser-facing fleet-status push channel. Subscribers receive <see cref="FleetStatusChanged"/>
|
|
/// snapshots whenever the admin-role <c>FleetStatusBroadcaster</c> publishes a diff.
|
|
///
|
|
/// Server-side bridge from <c>FleetStatusBroadcaster.broadcast</c> → <c>IHubContext<FleetStatusHub></c>
|
|
/// is staged for follow-up F16. For now the hub is a passive channel; SignalR clients connect
|
|
/// and stay idle until the bridge lands.
|
|
/// </summary>
|
|
public sealed class FleetStatusHub : Hub
|
|
{
|
|
public const string Endpoint = "/hubs/fleet-status";
|
|
public const string MethodName = "fleetStatusChanged";
|
|
}
|