You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
485 B

using DotNetty.Buffers;
using DotNetty.Codecs;
using DotNetty.Transport.Channels;
using HybirdFrameworkCore.Autofac.Attribute;
7 months ago
using HybirdFrameworkDriver.ChargerServer;
7 months ago
namespace HybirdFrameworkServices.Charger.Codec;
[Scope("InstancePerDependency")]
7 months ago
public class Decoder : ByteToMessageDecoder, IDecoder
{
protected override void Decode(IChannelHandlerContext context, IByteBuffer input, List<object> output)
{
7 months ago
output.Add(new IoSession(context.Channel));
}
}