2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-05-06 11:32:59 +00:00
esiur-dotnet/Esyur/Net/SendList.cs
2019-12-31 12:44:54 +03:00

27 lines
577 B
C#

using Esyur.Core;
using Esyur.Data;
using System;
using System.Collections.Generic;
using System.Text;
namespace Esyur.Net
{
public class SendList : BinaryList
{
NetworkConnection connection;
AsyncReply<object[]> reply;
public SendList(NetworkConnection connection, AsyncReply<object[]> reply)
{
this.reply = reply;
this.connection = connection;
}
public override AsyncReply<object[]> Done()
{
connection.Send(this.ToArray());
return reply;
}
}
}