view src/alice/daemon/CommandMessage.java @ 212:b5daccf36104 working

add Receiver state pattern
author one
date Wed, 27 Mar 2013 17:30:52 +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;
	}
}