Mercurial > hg > RemoteEditor > REPSessionManager
comparison rep/SessionManager.java @ 115:b5062811066c
*** empty log message ***
author | pin |
---|---|
date | Sun, 23 Dec 2007 15:27:58 +0900 |
parents | ea86e343a64b |
children | 628e7ffeb097 |
comparison
equal
deleted
inserted
replaced
114:ea86e343a64b | 115:b5062811066c |
---|---|
103 | 103 |
104 /*** EditorChannel を用いない記述 ***/ | 104 /*** EditorChannel を用いない記述 ***/ |
105 SocketChannel channel = (SocketChannel)key.channel(); | 105 SocketChannel channel = (SocketChannel)key.channel(); |
106 REPPacketReceive receive = new REPPacketReceive(channel); //getPacket(), putPacket() にする。 | 106 REPPacketReceive receive = new REPPacketReceive(channel); //getPacket(), putPacket() にする。 |
107 receive.setkey(key); | 107 receive.setkey(key); |
108 //REPCommand receivedCommand = receive.unpackUConv(); | 108 REPCommand receivedCommand = receive.unpackUConv(); |
109 REPCommand receivedCommand = receive.unpack(); | 109 //REPCommand receivedCommand = receive.unpack(); |
110 manager(channel, receivedCommand); | 110 manager(channel, receivedCommand); |
111 | 111 |
112 /*** EditorChannel を用いた記述 ****/ | 112 /*** EditorChannel を用いた記述 ****/ |
113 //EditorChannel echannel = (EditorChannel) key.channel(); | 113 //EditorChannel echannel = (EditorChannel) key.channel(); |
114 //REPCommand command = echannel.getPacket(); | 114 //REPCommand command = echannel.getPacket(); |