Mercurial > hg > Database > Alice
annotate src/alice/daemon/CommandMessage.java @ 175:d7816b9b72e9 working
minor change
author | e095732 |
---|---|
date | Thu, 24 Jan 2013 21:23:16 +0900 |
parents | 0f773308a863 |
children | 88be2824a989 |
rev | line source |
---|---|
13 | 1 package alice.daemon; |
2 | |
3 import org.msgpack.annotation.Message; | |
4 import org.msgpack.type.Value; | |
5 | |
6 @Message | |
7 public class CommandMessage { | |
52
0f773308a863
change CommandMessage Constructor
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
16
diff
changeset
|
8 public int type; |
0f773308a863
change CommandMessage Constructor
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
16
diff
changeset
|
9 public int index; |
0f773308a863
change CommandMessage Constructor
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
16
diff
changeset
|
10 public int seq; |
0f773308a863
change CommandMessage Constructor
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
16
diff
changeset
|
11 public String key; |
0f773308a863
change CommandMessage Constructor
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
16
diff
changeset
|
12 public Value val; |
16 | 13 |
14 public CommandMessage() {} | |
13 | 15 |
16 public CommandMessage(int type, int index, int seq, String key, Value val) { | |
17 this.type = type; | |
18 this.index = index; | |
19 this.seq = seq; | |
20 this.key = key; | |
21 this.val = val; | |
22 } | |
23 } |