diff rep/handler/PacketSet.java @ 178:a097b1d619a1

*** empty log message ***
author pin
date Thu, 28 Aug 2008 22:04:48 +0900
parents bbd2801d8ce0
children 526ee0354067
line wrap: on
line diff
--- a/rep/handler/PacketSet.java	Thu Aug 28 22:04:11 2008 +0900
+++ b/rep/handler/PacketSet.java	Thu Aug 28 22:04:48 2008 +0900
@@ -1,17 +1,25 @@
 package rep.handler;
 
+import rep.Editor;
 import rep.REPCommand;
 import rep.channel.ChannelSimulator;
 import rep.channel.REPSocketChannel;
 
 public class PacketSet {
 
-	private REPSocketChannel<REPCommand> channel;
-	private REPCommand packet;
+	public REPSocketChannel<REPCommand> channel;
+	public Editor editor;
+	public REPCommand command;
 
-	public PacketSet(REPSocketChannel<REPCommand> channel, REPCommand packet) {
+	public PacketSet(REPSocketChannel<REPCommand> channel, Editor editor, REPCommand command) {
 		this.channel = channel;
-		this.packet = packet;
+		this.editor = editor;
+		this.command = command;
 	}
 
+	public Editor getEditor() {
+		return editor;
+	}
+	
+
 }