Interface IZoneTelemetryReceiver
Implemented by ZoneGovernors, receive telemetry data from subordinate nodes (another zone governors or other hosts). This contract is singleton for efficiency
Namespace: Azos.Sky.Contracts
Assembly: Azos.Sky.dll
Syntax
[Glued]
[LifeCycle(ServerInstanceMode.Singleton)]
public interface IZoneTelemetryReceiver : ISkyService
Methods
SendTelemetry(String, Datum[])
Sends telemetry batch from named subordinate host. Returns the receiver condition - a number of expected Datum instances in the next call. Keep in mind that a large number may be returned and Glue buffer limit may not be sufficient for large send, so impose a limit on the caller side (i.e. 200 max datum instances per call) The busier the receiver gets, the lower is the number. This is a form of throttling/flow control
Declaration
int SendTelemetry(string host, Datum[] data)
Parameters
Type | Name | Description |
---|---|---|
System.String | host | |
Datum[] | data |
Returns
Type | Description |
---|---|
System.Int32 |