Exemplo n.º 1
0
 internal Socket(NetMQSocket socket, SocketConfiguration config)
 {
     socket.Options.Linger = config.Linger;
     socket.Options.ReceiveHighWatermark = config.ReceivingHighWatermark;
     socket.Options.SendHighWatermark    = config.SendingHighWatermark;
     this.socket = socket;
     this.config = config;
 }
Exemplo n.º 2
0
 public SocketFactory(SocketConfiguration config)
 => this.config = config ?? CreateDefaultConfiguration();
Exemplo n.º 3
0
 public SocketFactory(SocketConfiguration config)
 => this.config = config;