src/windows/classes/sun/nio/ch/WindowsAsynchronousChannelProvider.java
Print this page
*** 27,37 ****
import java.nio.channels.*;
import java.nio.channels.spi.AsynchronousChannelProvider;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadFactory;
- import java.net.ProtocolFamily;
import java.io.IOException;
public class WindowsAsynchronousChannelProvider
extends AsynchronousChannelProvider
{
--- 27,36 ----
*** 88,101 ****
public AsynchronousSocketChannel openAsynchronousSocketChannel(AsynchronousChannelGroup group)
throws IOException
{
return new WindowsAsynchronousSocketChannelImpl(toIocp(group));
}
-
- @Override
- public AsynchronousDatagramChannel openAsynchronousDatagramChannel(ProtocolFamily family,
- AsynchronousChannelGroup group)
- throws IOException
- {
- return new SimpleAsynchronousDatagramChannelImpl(family, toIocp(group));
- }
}
--- 87,92 ----