view rep/PacketSet.java @ 411:795ef563f2a0

add commnets
author one
date Wed, 26 Nov 2008 09:41:14 +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+")";
	}

}