示例#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;
 }
示例#2
0
 public SocketFactory(SocketConfiguration config)
 => this.config = config ?? CreateDefaultConfiguration();
示例#3
0
 public SocketFactory(SocketConfiguration config)
 => this.config = config;