view datagear/command/RemoteTakeCommand.cs @ 39:9217d14cc220

fix NetworkStream
author riono <e165729@ie.u-ryukyu.ac.jp>
date Tue, 25 May 2021 02:35:52 +0900
parents 3aaa77e12493
children 486683ead53f
line wrap: on
line source

using System.IO;
using Christie_net.datagear.dg;

namespace Christie_net.datagear.command {
public class RemoteTakeCommand : Command{
    public RemoteTakeCommand(CommandBuilder cb) : base(cb) {
        this.dg = new MessagePackDataGear<object>(this.clazz);
    }
    
    public override void Execute() {
        new CommandBuilder().Init(CommandType.REPLY).Connection(connection).Key(key).Dg(dg).Build().Execute();
    }

    public override byte[] Convert() {
        throw new System.NotImplementedException();
    }
}
}