35363738394041
public class DatagramAcceptor extends DelegatedIoAcceptor { /** * Creates a new instance using a NewThreadExecutor */ public DatagramAcceptor() { init(new DatagramAcceptorDelegate(this, new NewThreadExecutor())); }
44454647484950
* Creates a new instance. * * @param executor Executor to use for launching threads */ public DatagramAcceptor(Executor executor) { init(new DatagramAcceptorDelegate(this, executor)); }
37383940414243
/** * Creates a new instance using a NewThreadExecutor */ public DatagramAcceptor() { init( new DatagramAcceptorDelegate( this, new NewThreadExecutor( ) ) ); }
47484950515253
* * @param executor Executor to use for launching threads */ public DatagramAcceptor( Executor executor ) { init( new DatagramAcceptorDelegate( this, executor ) ); }
34353637383940
/** * Creates a new instance. */ public DatagramAcceptor() { init( new DatagramAcceptorDelegate( this ) ); }
33343536373839