SiteTexts
Static class in Oadm.Sdk.Sites · Oadm.Sdk.dll
Texts about sites shared by host and plugins.
public static class SiteTextsMethods
Section titled “Methods”RelayStateText
Section titled “RelayStateText”static string RelayStateText(string reason, string where, RelayState state, SiteProtocol protocol, int port)A relay’s or listener’s state for a page: “NTP at Building B: waiting for approval in the OADM Site Node app”.
Parameters
reason: What listens, as the plugin named it (“NTP”).where: The site’s name, orSiteTexts.ThisServerfor a listener on the server’s own network.state: The state.protocol: UDP or TCP.port: The port.
RemovedSite
Section titled “RemovedSite”static string RemovedSite(string siteName)The site name of a device whose site was removed with its devices kept: “Building B (removed)”. The device shows Site offline until it is moved to another site or removed.
Parameters
siteName: The removed site’s name.
SiteOffline
Section titled “SiteOffline”static string SiteOffline(string? siteName)The status text of a device whose site is offline: “Site offline: Building B”.
Fields
Section titled “Fields”NodeWasReset
Section titled “NodeWasReset”const string NodeWasReset = "The site node was reset. Replace or remove the site."The site’s node was reset (its site is not bound any more) and what to do about it.
NotAvailableAtSite
Section titled “NotAvailableAtSite”const string NotAvailableAtSite = "Not available for devices at a site"Why a task, compliance type, page or action of a SiteSupport.None package refuses a device at a site.
OutsideSiteNetworks
Section titled “OutsideSiteNetworks”const string OutsideSiteNetworks = "The address is outside the networks the site reaches"Why a new address of a device at a site is refused: it is outside the networks the site node reaches.
ThisServer
Section titled “ThisServer”const string ThisServer = "this server"The name of the server’s own network in relay texts (“NTP at this server: running”).