IPluginEvents
Interface in Oadm.Sdk.Plugins · Oadm.Sdk.dll
Pushes live events from a core plugin to every client page watching it (gRPC PluginService.Watch). Fire and forget: IPluginEvents.Publish never blocks and never throws for slow or missing watchers; a watcher that falls behind loses the oldest events (pages re-read their state through InvokeAsync after reconnecting). Throttle high-rate sources in the plugin (e.g. batch log lines every 500 ms).
public interface IPluginEventsGuide: Core plugins and pages
Methods
Section titled “Methods”Publish
Section titled “Publish”void Publish(string topic, string? payloadJson)Sends an event to every page that watches; never blocks. topic is yours (“status”, “rows”).
Fields
Section titled “Fields”MaxPayloadLength
Section titled “MaxPayloadLength”const int MaxPayloadLength = 1048576Largest payload a single event may carry (UTF-16 characters); larger events are dropped and logged.