Mercurial > hg > Database > Alice
diff src/alice/daemon/CommandMessage.java @ 13:30f97d776a3e
implements Alice daemon
author | one |
---|---|
date | Fri, 13 Jan 2012 19:04:59 +0900 |
parents | |
children | 433e601a8e28 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/alice/daemon/CommandMessage.java Fri Jan 13 19:04:59 2012 +0900 @@ -0,0 +1,21 @@ +package alice.daemon; + +import org.msgpack.annotation.Message; +import org.msgpack.type.Value; + +@Message +public class CommandMessage { + int type; + int index; + int seq; + String key; + Value val; + + public CommandMessage(int type, int index, int seq, String key, Value val) { + this.type = type; + this.index = index; + this.seq = seq; + this.key = key; + this.val = val; + } +}