Mercurial > hg > Database > Christie-sharp
view datagear/command/Command.cs @ 8:e6f5b7d14dd1
update DataGears
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2020 00:49:32 +0900 |
parents | 5c334a1fbc5e |
children | ce6906edcbf4 |
line wrap: on
line source
using System; using Christie_net.codegear; using Christie_net.datagear.dg; namespace Christie_net.datagear.command { public abstract class Command { public CodeGear cg; // for localtake public int cgmID = -1; // for localtake public Type clazz; // for remote public Connection connection = null; // for reply public DataGear<Type> dg; // for put/localtake/reply public string fromDgmName = "local"; // for remotetake/reply public string key; public string toDgmName; // for take public CommandType type; public Command(CommandBuilder cb) { type = type; key = null; toDgmName = null; fromDgmName = "local"; cgmID = null; cg = null; dg = null; clazz = null; connection = null; } // instead of any Constoractor args protected void CheckNeedParam(ComanndBuilder cb) { } public abstract void Execute(); public abstract } }