Mercurial > hg > Members > tatsuki > Alice
comparison 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 |
comparison
equal
deleted
inserted
replaced
6:c78a1cc2cd8f | 7:352eb19d837d |
---|---|
1 package alice.datasegment; | 1 package alice.datasegment; |
2 | 2 |
3 import org.msgpack.type.Value; | 3 import org.msgpack.type.Value; |
4 | 4 |
5 import alice.codesegment.CodeSegment; | |
6 | |
5 public class Command { | 7 public class Command { |
6 public CommandType cmdType; | 8 public CommandType cmdType; |
9 public String argKey; | |
7 public Value val; | 10 public Value val; |
8 public int index; | 11 public int index; |
9 public int seq; | 12 public int seq; |
10 public DataSegmentManager manager; | 13 public DataSegmentManager manager; |
11 | 14 public CodeSegment cs; |
12 public Command(CommandType cmdType, Value val, int index, int seq, DataSegmentManager manager) { | 15 |
16 public Command(CommandType cmdType, String argKey, Value val, int index, int seq, DataSegmentManager manager, CodeSegment cs) { | |
13 this.cmdType = cmdType; | 17 this.cmdType = cmdType; |
18 this.argKey = argKey; | |
14 this.val = val; | 19 this.val = val; |
15 this.index = index; | 20 this.index = index; |
16 this.seq = seq; | 21 this.seq = seq; |
17 this.manager = manager; | 22 this.manager = manager; |
23 this.cs = cs; | |
18 } | 24 } |
19 | 25 |
20 } | 26 } |