Interface IProtocol
Assembly: Sensus.Shared.NuGet.dll
Syntax
public interface IProtocol
Properties
AgentPolicy
Declaration
JObject AgentPolicy { get; set; }
Property Value
| Type |
Description |
| Newtonsoft.Json.Linq.JObject |
|
State
Declaration
ProtocolState State { get; }
Property Value
Methods
TryGetProbe<DatumInterface, ProbeType>(out ProbeType)
Declaration
bool TryGetProbe<DatumInterface, ProbeType>(out ProbeType probe)
where DatumInterface : IDatum where ProbeType : class, IProbe
Parameters
| Type |
Name |
Description |
| ProbeType |
probe |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
| Name |
Description |
| DatumInterface |
|
| ProbeType |
|
UpdateScriptAgentPolicyAsync(CancellationToken)
Declaration
Task UpdateScriptAgentPolicyAsync(CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
UpdateSensingAgentPolicyAsync(CancellationToken)
Declaration
Task UpdateSensingAgentPolicyAsync(CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
WriteSensingAgentStateDatum(SensingAgentState, SensingAgentState, String, CancellationToken)
Declaration
void WriteSensingAgentStateDatum(SensingAgentState previousState, SensingAgentState currentState, string description, CancellationToken cancellationToken)
Parameters