29 lines
900 B
C#
29 lines
900 B
C#
using JiShe.CollectBus.Common.Extensions.DependencyInjections;
|
|
using JiShe.CollectBus.Protocol.Contracts.Abstracts;
|
|
using JiShe.CollectBus.Protocol.Contracts.Attributes;
|
|
using JiShe.CollectBus.Protocol.Contracts.Models;
|
|
using Microsoft.Extensions.Caching.Distributed;
|
|
using TouchSocket.Sockets;
|
|
|
|
namespace JiShe.CollectBus.Protocol.Test
|
|
{
|
|
[ProtocolName("TestProtocol")]
|
|
public class TestProtocolPlugin(IDistributedCache cache) : BaseProtocolPlugin(cache), ISingletonDependency
|
|
{
|
|
public override Task<ProtocolInfo> GetAsync()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override Task ReceivedAsync(ITcpSessionClient client, ReceivedDataEventArgs e)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override Task SendAsync()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|