view src/main/java/alice/daemon/CommandMessage.java @ 393:38021fceabef draft multicast

test commit
author tatsuki
date Tue, 17 Jun 2014 17:39:47 +0900
parents 8f71c3e6f11d
children
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 boolean flag;
	
	public CommandMessage() {}
	
	public CommandMessage(int type, int index, int seq, String key, Value val, boolean flag) {
		this.type = type;
		this.index = index;
		this.seq = seq;
		this.key = key;
		this.val = val;
		this.flag = flag;
	}
}