# HG changeset patch # User pin # Date 1219830189 -32400 # Node ID 1ea856259add27fbca2fe95517b6ffcbee71af02 # Parent a4e2bceb97136e14a27f910f07df527883ee79c9 *** empty log message *** diff -r a4e2bceb9713 -r 1ea856259add rep/EditorList.java --- 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){ diff -r a4e2bceb9713 -r 1ea856259add rep/channel/REPSocketChannel.java --- 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; + }