Class UDPNIOBindingHandler

java.lang.Object
org.glassfish.grizzly.AbstractBindingHandler
org.glassfish.grizzly.nio.transport.UDPNIOBindingHandler
All Implemented Interfaces:
SocketBinder

public class UDPNIOBindingHandler extends AbstractBindingHandler
This class may be used to apply a custom Processor and/or ProcessorSelector atomically within a bind operation - not something that can normally be done using the UDPNIOTransport alone. Example usage:
 UDPNIOBindingHandler handler = UDPNIOBindingHandler.builder(transport).setProcessor(custom).build();
 handler.bind(socketAddress);
 
Since:
2.2.19