view src/alice/daemon/CommandMessage.java @ 111:ba64a9d76e70 working

Add AutoIncrement
author sugi
date Tue, 17 Jul 2012 17:23:55 +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;
	}
}