view rep/PacketSet.java @ 424:1e58479b4170

TestEditor selectionKeys fix.
author one
date Thu, 31 Dec 2009 23:00:55 +0900
parents 29f01a7ce71f
children 21cb16b7f3df
line wrap: on
line source

package rep;

import rep.channel.REPSocketChannel;
import rep.handler.REPNode;

public class PacketSet {

	public REPSocketChannel<REPCommand> channel;
	public REPNode editor;
	public REPCommand command;

	public PacketSet(REPSocketChannel<REPCommand> channel, REPNode editor, REPCommand command) {
		this.channel = channel;
		this.editor = editor;
		this.command = command;
	}

	public REPNode getEditor() {
		return editor;
	}
	
	public String toString() {
		return "PacketSet("+command.toString()+","+editor+")";
	}

}