view src/alice/daemon/CommandMessage.java @ 243:c70cd1b2caca

remove word_count bug
author sugi
date Wed, 08 May 2013 15:43:49 +0900
parents 0f773308a863
children 88be2824a989
line wrap: on
line source

package alice.daemon;

import org.msgpack.annotation.Message;
import org.msgpack.type.Value;

@Message
public class CommandMessage {
	public int type;
	public int index;
	public int seq;
	public String key;
	public Value val;
	
	public CommandMessage() {}
	
	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;
	}
}