view src/alice/datasegment/Command.java @ 33:20c67f673224

change name of DataSegmentReceiver
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Wed, 18 Jan 2012 01:34:23 +0900
parents 98ab26e09a98
children 3155337e754e
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 Receiver receiver;
	public Value val;
	public int index;
	public int seq;
	public BlockingQueue<Command> replyQueue;
	public CodeSegment cs;
	public String reverseKey;
	
	public Command(CommandType cmdType, Receiver receiver, String key, Value val, int index, int seq, BlockingQueue<Command> replyQueue, CodeSegment cs, String reverseKey) {
		this.type = cmdType;
		this.receiver = receiver;
		this.key = key;
		this.val = val;
		this.index = index;
		this.seq = seq;
		this.replyQueue = replyQueue;
		this.cs = cs;
		this.reverseKey = reverseKey;
	}
	
}