Mercurial > hg > Database > Alice
diff src/alice/datasegment/Command.java @ 7:352eb19d837d
implements reply of LocalDataSegment
author | one |
---|---|
date | Thu, 12 Jan 2012 13:48:34 +0900 |
parents | c78a1cc2cd8f |
children | 30f97d776a3e |
line wrap: on
line diff
--- a/src/alice/datasegment/Command.java Thu Jan 12 13:19:04 2012 +0900 +++ b/src/alice/datasegment/Command.java Thu Jan 12 13:48:34 2012 +0900 @@ -2,19 +2,25 @@ import org.msgpack.type.Value; +import alice.codesegment.CodeSegment; + public class Command { public CommandType cmdType; + public String argKey; public Value val; public int index; public int seq; public DataSegmentManager manager; - - public Command(CommandType cmdType, Value val, int index, int seq, DataSegmentManager manager) { + public CodeSegment cs; + + public Command(CommandType cmdType, String argKey, Value val, int index, int seq, DataSegmentManager manager, CodeSegment cs) { this.cmdType = cmdType; + this.argKey = argKey; this.val = val; this.index = index; this.seq = seq; this.manager = manager; + this.cs = cs; } }