Class UdpServer


public abstract class UdpServer extends Transport<UdpServer,UdpServerConfig>
A UdpServer allows building in a safe immutable way a UDP server that is materialized and connecting when bind() is ultimately called.

Example:

 
 UdpServer.create()
          .doOnBind(startMetrics)
          .doOnBound(startedMetrics)
          .doOnUnbind(stopMetrics)
          .host("127.0.0.1")
          .port(1234)
          .bind()
          .block()
 
 
Author:
Stephane Maldini, Violeta Georgieva