Class TelemetryReceiverClient
Client for glued contract NFX.Instrumentation.Telemetry.ITelemetryReceiver server.
Each contract method has synchronous and asynchronous versions, the later denoted by 'Async_' prefix.
May inject client-level inspectors here like so:
client.MsgInspectors.Register( new YOUR_CLIENT_INSPECTOR_TYPE());
Inheritance
System.Object
TelemetryReceiverClient
Implements
System.IDisposable
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)
Assembly: NFX.dll
Syntax
public class TelemetryReceiverClient : ClientEndPoint, IDisposable, ITelemetryReceiver
Constructors
TelemetryReceiverClient(IGlue, Node, Binding)
Declaration
public TelemetryReceiverClient(IGlue glue, Node node, Binding binding = null)
Parameters
TelemetryReceiverClient(IGlue, String, Binding)
Declaration
public TelemetryReceiverClient(IGlue glue, string node, Binding binding = null)
Parameters
Type |
Name |
Description |
IGlue |
glue |
|
System.String |
node |
|
Binding |
binding |
|
TelemetryReceiverClient(Node, Binding)
Declaration
public TelemetryReceiverClient(Node node, Binding binding = null)
Parameters
TelemetryReceiverClient(String, Binding)
Declaration
public TelemetryReceiverClient(string node, Binding binding = null)
Parameters
Type |
Name |
Description |
System.String |
node |
|
Binding |
binding |
|
Properties
Contract
Declaration
public override Type Contract { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
Async_Send(String, Datum)
Asynchronous invoker for 'NFX.Instrumentation.Telemetry.ITelemetryReceiver.Send'.
This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
there is no result that server could return back to the caller.
CallSlot is returned that can be queried for CallStatus, ResponseMsg.
Declaration
public CallSlot Async_Send(string siteName, Datum data)
Parameters
Type |
Name |
Description |
System.String |
siteName |
|
Datum |
data |
|
Returns
Send(String, Datum)
Synchronous invoker for 'NFX.Instrumentation.Telemetry.ITelemetryReceiver.Send'.
This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
there is no result that server could return back to the caller.
ClientCallException is thrown if the call could not be placed in the outgoing queue.
Declaration
public void Send(string siteName, Datum data)
Parameters
Type |
Name |
Description |
System.String |
siteName |
|
Datum |
data |
|
Implements
System.IDisposable
Extension Methods