Mercurial > hg > Database > Alice
comparison src/main/java/alice/daemon/CommandMessage.java @ 345:8f71c3e6f11d
Change directory structure Maven standard
author | sugi |
---|---|
date | Wed, 16 Apr 2014 18:26:07 +0900 |
parents | |
children | aefbe41fcf12 |
comparison
equal
deleted
inserted
replaced
344:9f97ec18f8c5 | 345:8f71c3e6f11d |
---|---|
1 package alice.daemon; | |
2 | |
3 import org.msgpack.annotation.Message; | |
4 import org.msgpack.type.Value; | |
5 | |
6 @Message | |
7 public class CommandMessage { | |
8 public int type; | |
9 public int index; | |
10 public int seq; | |
11 public String key; | |
12 public Value val; | |
13 public boolean flag; | |
14 | |
15 public CommandMessage() {} | |
16 | |
17 public CommandMessage(int type, int index, int seq, String key, Value val, boolean flag) { | |
18 this.type = type; | |
19 this.index = index; | |
20 this.seq = seq; | |
21 this.key = key; | |
22 this.val = val; | |
23 this.flag = flag; | |
24 } | |
25 } |