Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/channel/REPSocketChannel.java @ 153:4cfed12aa3aa
*** empty log message ***
author | kono |
---|---|
date | Thu, 28 Aug 2008 15:24:54 +0900 |
parents | 4ff68518e9ca |
children | 31334767e65d |
line wrap: on
line diff
--- a/rep/channel/REPSocketChannel.java Thu Aug 28 15:05:25 2008 +0900 +++ b/rep/channel/REPSocketChannel.java Thu Aug 28 15:24:54 2008 +0900 @@ -2,6 +2,7 @@ import java.io.IOException; import java.net.Socket; +import java.net.SocketAddress; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.SelectableChannel; @@ -116,6 +117,10 @@ return new REPSocketChannel<T>(SocketChannel.open()); } } + + public boolean connect(SocketAddress semaIP) throws IOException { + return sc.connect(semaIP); + }