30 lines
957 B
C#
30 lines
957 B
C#
using JiShe.CollectBus.Common.Extensions.DependencyInjections;
|
|
using JiShe.CollectBus.MongoDB;
|
|
using JiShe.CollectBus.Protocol.Contracts.Abstracts;
|
|
using JiShe.CollectBus.Protocol.Contracts.Attributes;
|
|
using JiShe.CollectBus.Protocol.Contracts.Models;
|
|
using Microsoft.Extensions.Caching.Distributed;
|
|
using Microsoft.Extensions.Logging;
|
|
using TouchSocket.Sockets;
|
|
|
|
namespace JiShe.CollectBus.Protocol.Test
|
|
{
|
|
[ProtocolName("TestProtocol")]
|
|
public class TestProtocolPlugin : BaseProtocolPlugin, ISingletonDependency
|
|
{
|
|
public TestProtocolPlugin(ILogger<BaseProtocolPlugin> logger) : base(logger)
|
|
{
|
|
}
|
|
|
|
public override Task<ProtocolInfo> GetAsync()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override Task AnalyzeAsync(MessageReceivedEvent messageReceivedEvent, Action<byte[]>? sendAction = null)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|