Mercurial > hg > RemoteEditor > REPSessionManager
changeset 109:04a1ab625121
*** empty log message ***
author | pin |
---|---|
date | Sun, 23 Dec 2007 12:54:59 +0900 |
parents | 4e8ebfa2d529 |
children | c0157dc9cb75 |
files | rep/REPPacketSend.java rep/SessionManager.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/REPPacketSend.java Sun Dec 23 10:34:53 2007 +0900 +++ b/rep/REPPacketSend.java Sun Dec 23 12:54:59 2007 +0900 @@ -73,8 +73,8 @@ public void send(REPCommand command){ try { - socketchannel.write(pack(command)); - //socketchannel.write(packUConv(command)); + //socketchannel.write(pack(command)); + socketchannel.write(packUConv(command)); //System.out.println(command.toString()); } catch (IOException e) { e.printStackTrace();
--- a/rep/SessionManager.java Sun Dec 23 10:34:53 2007 +0900 +++ b/rep/SessionManager.java Sun Dec 23 12:54:59 2007 +0900 @@ -100,8 +100,8 @@ SocketChannel channel = (SocketChannel)key.channel(); REPPacketReceive receive = new REPPacketReceive(channel); //getPacket(), putPacket() にする。 receive.setkey(key); - //REPCommand repCom = repRec.unpackUConv(); - REPCommand receivedCommand = receive.unpack(); + REPCommand receivedCommand = receive.unpackUConv(); + //REPCommand receivedCommand = receive.unpack(); manager(channel, receivedCommand); /*** EditorChannel を用いた記述 ****/