Mercurial > hg > RemoteEditor > REPSessionManager
changeset 137:1ea856259add
*** empty log message ***
author | pin |
---|---|
date | Wed, 27 Aug 2008 18:43:09 +0900 |
parents | a4e2bceb9713 |
children | 4ff7a00b13cc |
files | rep/EditorList.java rep/channel/REPSocketChannel.java |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/EditorList.java Wed Aug 27 18:41:42 2008 +0900 +++ b/rep/EditorList.java Wed Aug 27 18:43:09 2008 +0900 @@ -25,7 +25,7 @@ } - public void sendJoinAck(SocketChannel channel, REPCommand repCmd) { + public void sendJoinAck(REPSocketChannel channel, REPCommand repCmd) { REPCommand command = repCmd; command.setCMD(REP.SMCMD_JOIN_ACK); @@ -110,7 +110,7 @@ } - public Editor getEditor(SocketChannel channel) { + public Editor getEditor(REPSocketChannel channel) { // TODO Auto-generated method stub Editor editor1 = null; for(Editor editor: editorList){
--- a/rep/channel/REPSocketChannel.java Wed Aug 27 18:41:42 2008 +0900 +++ b/rep/channel/REPSocketChannel.java Wed Aug 27 18:43:09 2008 +0900 @@ -1,6 +1,7 @@ package rep.channel; import java.io.IOException; +import java.net.Socket; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.SelectableChannel; @@ -76,6 +77,11 @@ // TODO Auto-generated method stub return false; } + + public Socket socket() { + // TODO Auto-generated method stub + return null; + }