Add missing no-arg constructor
This commit is contained in:
parent
784bf791c2
commit
80490f5170
@ -16,6 +16,7 @@
|
||||
package org.jboss.netty.channel.socket.oio;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.RejectedExecutionException;
|
||||
|
||||
import org.jboss.netty.channel.Channel;
|
||||
@ -75,6 +76,15 @@ public class OioDatagramChannelFactory implements DatagramChannelFactory {
|
||||
private final Executor workerExecutor;
|
||||
final OioDatagramPipelineSink sink;
|
||||
|
||||
/**
|
||||
* Creates a new instance with a {@link Executors#newCachedThreadPool()}
|
||||
*
|
||||
* See {@link #OioDatagramChannelFactory(Executor)}
|
||||
*/
|
||||
public OioDatagramChannelFactory() {
|
||||
this(Executors.newCachedThreadPool());
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user