Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/PacketSet.java @ 450:21cb16b7f3df
block message in Editor.write()
author | one |
---|---|
date | Thu, 23 Sep 2010 18:15:37 +0900 |
parents | 29f01a7ce71f |
children |
line wrap: on
line diff
--- a/rep/PacketSet.java Wed Sep 22 22:11:58 2010 +0900 +++ b/rep/PacketSet.java Thu Sep 23 18:15:37 2010 +0900 @@ -1,26 +1,23 @@ package rep; -import rep.channel.REPSocketChannel; import rep.handler.REPNode; public class PacketSet { - public REPSocketChannel<REPCommand> channel; - public REPNode editor; + public REPNode channel; public REPCommand command; - public PacketSet(REPSocketChannel<REPCommand> channel, REPNode editor, REPCommand command) { - this.channel = channel; - this.editor = editor; + public PacketSet(REPNode editor, REPCommand command) { + this.channel = editor; this.command = command; } public REPNode getEditor() { - return editor; + return channel; } public String toString() { - return "PacketSet("+command.toString()+","+editor+")"; + return "PacketSet("+command.toString()+","+channel+")"; } }