view src/alice/datasegment/Command.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 e3f1b21718b0
children 72dd27d952b0
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 key;
	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, String key, Value val, int index, int seq, BlockingQueue<Command> replyQueue, CodeSegment cs) {
		this.type = cmdType;
		this.argKey = argKey;
		this.key = key;
		this.val = val;
		this.index = index;
		this.seq = seq;
		this.replyQueue = replyQueue;
		this.cs = cs;
	}
	
}