view src/main/java/alice/daemon/CommandMessage.java @ 345:8f71c3e6f11d

Change directory structure Maven standard
author sugi
date Wed, 16 Apr 2014 18:26:07 +0900
parents
children aefbe41fcf12
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;
	}
}