Mercurial > hg > Database > Christie-sharp
view datagear/command/CommandBuilder.cs @ 17:4a3115ba746d
fix CommandType enum
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Nov 2020 03:11:50 +0900 |
parents | 7352793b5dbe |
children | 3aaa77e12493 |
line wrap: on
line source
using System; using Christie_net.codegear; using Christie_net.daemon; using Christie_net.datagear.dg; namespace Christie_net.datagear.command { public class CommandBuilder { protected internal CommandType type; protected internal string key = null; protected internal string toDgmName = null; // for take protected internal string fromDgmname = "local"; // for remotetake/reply protected internal int? cgmID = null; // for local meta protected internal CodeGear cg = null; // for localtake protected internal DataGear<object> dg = null; // for put/localtake/reply protected internal Type clazz = null; // for remote protected internal Connection connection = null; // for reply //private CommandFactory factory = new CommandFactory(); public CommandBuilder init(CommandType type) { this.type = type; this.key = null; this.toDgmName = null; this.fromDgmname = "local"; this.cgmID = null; this.cg = null; this.dg = null; this.clazz = null; this.connection = null; return this; } } }