view rep/PacketSet.java @ 428:b5f1bcc8a156

document
author one
date Sat, 02 Jan 2010 03:21:26 +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+")";
	}

}