test/java/nio/channels/spi/AsynchronousChannelProvider/Provider2.java
Print this page
*** 21,31 ****
* questions.
*/
import java.nio.channels.spi.AsynchronousChannelProvider;
import java.nio.channels.*;
- import java.net.ProtocolFamily;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadFactory;
import java.io.IOException;
public class Provider2 extends AsynchronousChannelProvider {
--- 21,30 ----
*** 56,69 ****
@Override
public AsynchronousServerSocketChannel openAsynchronousServerSocketChannel
(AsynchronousChannelGroup group) throws IOException
{
throw new RuntimeException();
- }
-
- @Override
- public AsynchronousDatagramChannel openAsynchronousDatagramChannel
- (ProtocolFamily family, AsynchronousChannelGroup group) throws IOException
- {
- throw new RuntimeException();
}
}
--- 55,61 ----