git_bsmd/AIS/bsmd.AIS2Service/IAISThread.cs

32 lines
687 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bsmd.AIS2Service
{
internal interface IAISThread
{
/// <summary>
/// regular start request
/// </summary>
void Start();
/// <summary>
/// regular stop request
/// </summary>
void Stop();
/// <summary>
/// if this happens the whole show must be stopped
/// </summary>
event EventHandler FatalErrorOccurred;
/// <summary>
/// descriptive name of this thread to use in logging
/// </summary>
string Name { get; }
}
}