Mercurial > hg > RemoteEditor > REPSessionManager
view rep/channel/REPServerSocket.java @ 217:4deaaaa6354e
*** empty log message ***
author | kono |
---|---|
date | Sun, 31 Aug 2008 00:26:35 +0900 |
parents | be219ba8b39c |
children | c410eda661e8 |
line wrap: on
line source
package rep.channel; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.SocketAddress; import java.nio.channels.ServerSocketChannel; /* こいつはシミュレーションの時しか生成され無いゾ */ public class REPServerSocket extends ServerSocket{ ServerChannelSimulator<?> scs; public REPServerSocket(ServerChannelSimulator<?> channel) throws IOException { scs = channel; } public void bind(SocketAddress ip){ scs.bind(ip); } @Override public void close(){ } @Override public ServerSocketChannel getChannel(){ return null; } @Override public InetAddress getInetAddress(){ return null; } @Override public int getLocalPort(){ return 0; } @Override public SocketAddress getLocalSocketAddress(){ return null; } @Override public int getReceiveBufferSize(){ return 0; } @Override public boolean getReuseAddress(){ return false; } @Override public int getSoTimeout(){ return 0; } /* @Override public (){ } @Override public (){ }*/ }