Mercurial > hg > RemoteEditor > REPSessionManager
changeset 295:6deb6de8d0eb
*** empty log message ***
author | pin |
---|---|
date | Mon, 29 Sep 2008 14:13:19 +0900 |
parents | 7a5798b7f10c |
children | c35f01b5060f |
files | rep/Editor.java rep/REPCommandPacker.java rep/RPanel.java rep/SessionManager.java |
diffstat | 4 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/Editor.java Mon Sep 29 13:21:02 2008 +0900 +++ b/rep/Editor.java Mon Sep 29 14:13:19 2008 +0900 @@ -106,7 +106,8 @@ sentList.remove(0); return true; }else{ - System.err.println("error:Editor.checkReturnedCommand()"); + System.err.println("error:Editor.checkReturnedCommand() : command = " + command); + System.out.println("Editor.checkReturndCommand() : sentList = " + sentList); } } return false;
--- a/rep/REPCommandPacker.java Mon Sep 29 13:21:02 2008 +0900 +++ b/rep/REPCommandPacker.java Mon Sep 29 14:13:19 2008 +0900 @@ -37,7 +37,7 @@ * @see rep.REPPack#packUConv(rep.REPCommand) */ public ByteBuffer packUConv(REPCommand command){ - System.out.println("send command byUTF8: " + command.toString()); + //System.out.println("send command byUTF8: " + command.toString()); if(command.string == null){ command.setString("test"); } @@ -64,7 +64,7 @@ //Encoded string length set int length = (buffer.position() -pos) -4; - System.out.println("UTF-8: Set REPComand textlen(Byte) : " + (buffer.position() - pos-4)); + //System.out.println("UTF-8: Set REPComand textlen(Byte) : " + (buffer.position() - pos-4)); if(length < 0) { length = 0; }
--- a/rep/RPanel.java Mon Sep 29 13:21:02 2008 +0900 +++ b/rep/RPanel.java Mon Sep 29 14:13:19 2008 +0900 @@ -102,7 +102,7 @@ listener.buttonPressed(new ConnectButtonEvent(listener, host)); }else if(event.getSource() == selectButton){ - System.out.println("RPanel.actionPerformed() : editorSelectedRow = " + editor_table.getSelectedRow()); + //System.out.println("RPanel.actionPerformed() : editorSelectedRow = " + editor_table.getSelectedRow()); listener.buttonPressed( new SelectButtonEvent(editorList.get(editor_table.getSelectedRow()), sessionList.get(session_table.getSelectedRow()), listener)); @@ -112,7 +112,7 @@ } public void setTableEditor(int eid, REPSocketChannel<REPCommand> channel) { - System.out.println("RPanel.setTableEditor() : channel = " + channel); + //System.out.println("RPanel.setTableEditor() : channel = " + channel); Vector<String> editor = new Vector<String>(); e_eid = "Editor : " + eid; e_socketchannel = "SocketChannel : " + channel; @@ -163,7 +163,7 @@ } public void mouseClicked(MouseEvent e) { - System.out.println("RPanel.mouseClicked() : editorChannel = " + editorList.get(editor_table.getSelectedRow()).getChannel()); + //System.out.println("RPanel.mouseClicked() : editorChannel = " + editorList.get(editor_table.getSelectedRow()).getChannel()); } public void mouseEntered(MouseEvent e) {
--- a/rep/SessionManager.java Mon Sep 29 13:21:02 2008 +0900 +++ b/rep/SessionManager.java Mon Sep 29 14:13:19 2008 +0900 @@ -127,7 +127,7 @@ for(REPSelectionKey<REPCommand> key : keys){ if(key.isAcceptable()){ REPSocketChannel<REPCommand> channel = key.accept(new REPCommandPacker()); - System.out.println("SessionManager.select() : key.isAcceptable : channel = " + channel); + //System.out.println("SessionManager.select() : key.isAcceptable : channel = " + channel); registerChannel (channel, SelectionKey.OP_READ); channel = null;