@Test public void testSetConnectTimeout() throws IOException { System.out.println("setConnectTimeout"); int t = 0; SocketChannelWithTimeoutsEmul instance = new SocketChannelWithTimeoutsEmul(); instance.setConnectTimeout(t); }
public void setConnectTimeout(int t) { connectTimeout = t; }
SocketChannelWithTimeouts extends SocketChannel { public void setConnectTimeout(int t) { connectTimeout = t; } }
SocketChannelWithTimeouts extends SocketChannel { public void setConnectTimeout(int t) { connectTimeout = t; } protected  SocketChannelWithTimeouts(); }
SocketChannelWithTimeouts extends SocketChannel { public void setConnectTimeout(int t) { connectTimeout = t; } protected  SocketChannelWithTimeouts(); static SocketChannel open(); @Override SocketChannel bind(SocketAddress socketAddress); @Override SocketAddress getLocalAddress(); @Override SocketChannel setOption(SocketOption<T> socketOption, T t); @Override T getOption(SocketOption<T> socketOption); @Override Set<SocketOption<?>> supportedOptions(); @Override SocketChannel shutdownInput(); @Override SocketChannel shutdownOutput(); @Override boolean connect(SocketAddress remote); @Override int read(ByteBuffer dst); @Override long read(ByteBuffer[] dsts, int offset, int length); @Override int write(ByteBuffer src); @Override long write(ByteBuffer[] srcs, int offset, int length); @Override Socket socket(); @Override boolean isConnected(); @Override boolean isConnectionPending(); @Override boolean finishConnect(); void setConnectTimeout(int t); void setReadTimeout(int t); SocketAddress getRemoteAddress(); }
SocketChannelWithTimeouts extends SocketChannel { public void setConnectTimeout(int t) { connectTimeout = t; } protected  SocketChannelWithTimeouts(); static SocketChannel open(); @Override SocketChannel bind(SocketAddress socketAddress); @Override SocketAddress getLocalAddress(); @Override SocketChannel setOption(SocketOption<T> socketOption, T t); @Override T getOption(SocketOption<T> socketOption); @Override Set<SocketOption<?>> supportedOptions(); @Override SocketChannel shutdownInput(); @Override SocketChannel shutdownOutput(); @Override boolean connect(SocketAddress remote); @Override int read(ByteBuffer dst); @Override long read(ByteBuffer[] dsts, int offset, int length); @Override int write(ByteBuffer src); @Override long write(ByteBuffer[] srcs, int offset, int length); @Override Socket socket(); @Override boolean isConnected(); @Override boolean isConnectionPending(); @Override boolean finishConnect(); void setConnectTimeout(int t); void setReadTimeout(int t); SocketAddress getRemoteAddress();  }