Interface IZoneHostRegistry
Implemented by ZoneGovernors, receives host status/network identification data from subordinate nodes (another zone governors or other hosts).
This contract is singleton for efficiency
Assembly: Azos.Sky.dll
Syntax
[Glued]
[LifeCycle(ServerInstanceMode.Singleton)]
public interface IZoneHostRegistry : ISkyService
Methods
GetSubordinateHost(String)
Returns information for specified subordinate host or null
Declaration
HostInfo GetSubordinateHost(string hostName)
Parameters
Type |
Name |
Description |
System.String |
hostName |
|
Returns
GetSubordinateHosts(String)
Returns information for specified subordinate host/s name/s depending on hostName query parameter.
Match pattern can contain up to one * wildcard and multiple ? wildcards
Declaration
IEnumerable<HostInfo> GetSubordinateHosts(string hostNameSearchPattern)
Parameters
Type |
Name |
Description |
System.String |
hostNameSearchPattern |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<HostInfo> |
|
RegisterSubordinateHost(HostInfo, Nullable<DynamicHostID>)
Sends host registration/status update information from subordinate hosts
Declaration
void RegisterSubordinateHost(HostInfo host, DynamicHostID? hid = default(DynamicHostID? ))
Parameters
Spawn(String, String)
Declaration
DynamicHostID Spawn(string hostPath, string id = null)
Parameters
Type |
Name |
Description |
System.String |
hostPath |
|
System.String |
id |
|
Returns
Extension Methods