コード例 #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
ファイル: SocketFactory.cs プロジェクト: silicondioxide/kino
 public SocketFactory(SocketConfiguration config)
 => this.config = config ?? CreateDefaultConfiguration();
コード例 #3
0
ファイル: SocketFactory.cs プロジェクト: lulzzz/kino
 public SocketFactory(SocketConfiguration config)
 => this.config = config;