18 lines
No EOL
517 B
C#
18 lines
No EOL
517 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace NucuCar.Domain.Telemetry
|
|
{
|
|
public interface ITelemetryPublisher
|
|
{
|
|
void Start();
|
|
Task StartAsync();
|
|
void Configure(Dictionary<string, object> config);
|
|
bool RegisterTelemeter(ITelemeter t);
|
|
bool UnRegisterTelemeter(ITelemeter t);
|
|
Task PublishAsync(CancellationToken cancellationToken);
|
|
bool Publish(int timeout);
|
|
}
|
|
} |