<commit_before>﻿using System;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using SuperSocket.Channel;
using SuperSocket.ProtoBase;
using Microsoft.Extensions.Logging;

namespace SuperSocket.Client
{
    public abstract class EasyClient<TPackage> : EasyClient<TPackage, TPackage>
        where TPackage : class
    {
        public EasyClient(IPipelineFilter<TPackage> pipelineFilter, Action<TPackage> handler, IPackageEncoder<TPackage> packageEncoder = null, ILogger logger = null)
            : base(pipelineFilter, handler, packageEncoder, logger)
        {

        }
    }

    public abstract class EasyClient<TReceivePackage, TSendPackage>
        where TReceivePackage : class
        where TSendPackage : class
    {
        private IPipelineFilter<TReceivePackage> _pipelineFilter;

        private IChannel<TReceivePackage> _channel;<commit_msg>make EasyClient be able to use<commit_after>﻿using System;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using SuperSocket.Channel;
using SuperSocket.ProtoBase;
using Microsoft.Extensions.Logging;

namespace SuperSocket.Client
{
    public class EasyClient<TPackage> : EasyClient<TPackage, TPackage>
        where TPackage : class
    {
        public EasyClient(IPipelineFilter<TPackage> pipelineFilter, Action<TPackage> handler, IPackageEncoder<TPackage> packageEncoder = null, ILogger logger = null)
            : base(pipelineFilter, handler, packageEncoder, logger)
        {

        }
    }

    public class EasyClient<TReceivePackage, TSendPackage>
        where TReceivePackage : class
        where TSendPackage : class
    {
        private IPipelineFilter<TReceivePackage> _pipelineFilter;

        private IChannel<TReceivePackage> _channel;
{'fraction_non_alphanumeric': 0.0724391624221845, 'fraction_numerical': 0.0, 'mean_word_length': 3.883977900552486, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2960597', 'n_tokens_mistral': 483, 'n_tokens_neox': 465, 'n_words': 116}