view src/alice/daemon/CommandMessage.java @ 16:433e601a8e28

network bug fix
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Sun, 15 Jan 2012 12:17:30 +0900
parents 30f97d776a3e
children 0f773308a863
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 = 0;
	public int index = 0;
	public int seq = 0;
	public String key = null;
	public Value val = null;
	
	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;
	}
}