view src/alice/datasegment/Command.java @ 13:30f97d776a3e

implements Alice daemon
author one
date Fri, 13 Jan 2012 19:04:59 +0900
parents 352eb19d837d
children e3f1b21718b0
line wrap: on
line source

package alice.datasegment;

import java.util.concurrent.BlockingQueue;

import org.msgpack.type.Value;

import alice.codesegment.CodeSegment;

public class Command {
	public CommandType type;
	public String argKey;
	public Value val;
	public int index;
	public int seq;
	public BlockingQueue<Command> replyQueue;
	public CodeSegment cs;
	
	public Command(CommandType cmdType, String argKey, Value val, int index, int seq, BlockingQueue<Command> replyQueue, CodeSegment cs) {
		this.type = cmdType;
		this.argKey = argKey;
		this.val = val;
		this.index = index;
		this.seq = seq;
		this.replyQueue = replyQueue;
		this.cs = cs;
	}
	
}