Class ZoneGovernorServer
Implements contracts trampoline that uses a singleton instance of ZoneGovernorService
Inheritance
System.Object
ZoneGovernorServer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.Sky.dll
Syntax
public sealed class ZoneGovernorServer : IZoneTelemetryReceiver, IZoneLogReceiver, IZoneHostRegistry, IZoneHostReplicator, ILocker, ISkyService
Properties
Service
Declaration
public ZoneGovernorService Service { get; }
Property Value
Methods
EndLockSession(LockSessionID)
Declaration
public bool EndLockSession(LockSessionID sessionID)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ExecuteLockTransaction(LockSessionData, LockTransaction)
Declaration
public LockTransactionResult ExecuteLockTransaction(LockSessionData session, LockTransaction transaction)
Parameters
Returns
GetDynamicHostInfo(DynamicHostID)
Declaration
public DynamicHostInfo GetDynamicHostInfo(DynamicHostID hid)
Parameters
Returns
GetSubordinateHost(String)
Declaration
public HostInfo GetSubordinateHost(string hostName)
Parameters
Type |
Name |
Description |
System.String |
hostName |
|
Returns
GetSubordinateHosts(String)
Declaration
public IEnumerable<HostInfo> GetSubordinateHosts(string hostNameSearchPattern)
Parameters
Type |
Name |
Description |
System.String |
hostNameSearchPattern |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<HostInfo> |
|
PostDynamicHostInfo(DynamicHostID, DateTime, String, Int32)
Declaration
public void PostDynamicHostInfo(DynamicHostID hid, DateTime stamp, string owner, int votes)
Parameters
Type |
Name |
Description |
DynamicHostID |
hid |
|
System.DateTime |
stamp |
|
System.String |
owner |
|
System.Int32 |
votes |
|
PostHostInfo(HostInfo, Nullable<DynamicHostID>)
Declaration
public void PostHostInfo(HostInfo host, DynamicHostID? hid)
Parameters
RegisterSubordinateHost(HostInfo, Nullable<DynamicHostID>)
Declaration
public void RegisterSubordinateHost(HostInfo host, DynamicHostID? hid)
Parameters
SendLog(String, String, Message[])
Declaration
public int SendLog(string host, string appName, Message[] data)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.String |
appName |
|
Message[] |
data |
|
Returns
Type |
Description |
System.Int32 |
|
SendTelemetry(String, Datum[])
Declaration
public int SendTelemetry(string host, Datum[] data)
Parameters
Type |
Name |
Description |
System.String |
host |
|
Datum[] |
data |
|
Returns
Type |
Description |
System.Int32 |
|
Spawn(String, String)
Declaration
public DynamicHostID Spawn(string hostPath, string id = null)
Parameters
Type |
Name |
Description |
System.String |
hostPath |
|
System.String |
id |
|
Returns
Implements
Extension Methods