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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
1 package alice.daemon;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
2
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
3 import org.msgpack.annotation.Message;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
4 import org.msgpack.type.Value;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
5
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
6 @Message
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
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
433e601a8e28 network bug fix
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 13
diff changeset
13
433e601a8e28 network bug fix
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 13
diff changeset
14 public CommandMessage() {}
13
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
15
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
16 public CommandMessage(int type, int index, int seq, String key, Value val) {
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
17 this.type = type;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
18 this.index = index;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
19 this.seq = seq;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
20 this.key = key;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
21 this.val = val;
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
22 }
30f97d776a3e implements Alice daemon
one
parents:
diff changeset
23 }