Mercurial > hg > RemoteEditor > REPSessionManager
changeset 114:ea86e343a64b
*** empty log message ***
author | pin |
---|---|
date | Sun, 23 Dec 2007 14:53:33 +0900 |
parents | ce84d70b6cc9 |
children | b5062811066c |
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 14:39:45 2007 +0900 +++ b/rep/REPPacketSend.java Sun Dec 23 14:53:33 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 14:39:45 2007 +0900 +++ b/rep/SessionManager.java Sun Dec 23 14:53:33 2007 +0900 @@ -105,8 +105,8 @@ SocketChannel channel = (SocketChannel)key.channel(); REPPacketReceive receive = new REPPacketReceive(channel); //getPacket(), putPacket() にする。 receive.setkey(key); - REPCommand receivedCommand = receive.unpackUConv(); - //REPCommand receivedCommand = receive.unpack(); + //REPCommand receivedCommand = receive.unpackUConv(); + REPCommand receivedCommand = receive.unpack(); manager(channel, receivedCommand); /*** EditorChannel を用いた記述 ****/