@Test public void testImplConfigureBlocking() throws Exception { System.out.println("implConfigureBlocking"); boolean block = false; SocketChannelWithTimeoutsEmul instance = new SocketChannelWithTimeoutsEmul(); try { instance.implConfigureBlocking(block); Assert.fail("Exception expected"); } catch (UnsupportedOperationException e) { } }
@Override protected void implConfigureBlocking(boolean block) throws IOException { throw new UnsupportedOperationException("This class is blocking implementation of SocketChannel"); }
SocketChannelWithTimeouts extends SocketChannel { @Override protected void implConfigureBlocking(boolean block) throws IOException { throw new UnsupportedOperationException("This class is blocking implementation of SocketChannel"); } }
SocketChannelWithTimeouts extends SocketChannel { @Override protected void implConfigureBlocking(boolean block) throws IOException { throw new UnsupportedOperationException("This class is blocking implementation of SocketChannel"); } protected  SocketChannelWithTimeouts(); }
SocketChannelWithTimeouts extends SocketChannel { @Override protected void implConfigureBlocking(boolean block) throws IOException { throw new UnsupportedOperationException("This class is blocking implementation of SocketChannel"); } 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 { @Override protected void implConfigureBlocking(boolean block) throws IOException { throw new UnsupportedOperationException("This class is blocking implementation of SocketChannel"); } 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();  }