view rep/PacketSet.java @ 400:29f01a7ce71f

INSERT_USER,DELETE_USER to distinguish user input
author one
date Tue, 25 Nov 2008 01:41:11 +0900
parents 4b87f89b3afd
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+")";
	}

}