Esempio n. 1
0
 public ZmqTransport(IZmqTransportConfiguration configuration, ZmqSocketOptions socketOptions, IZmqOutboundSocketErrorHandler errorHandler)
 {
     _configuration             = configuration;
     _errorHandler              = errorHandler;
     _configuredInboundEndPoint = new ZmqEndPoint(configuration.InboundEndPoint);
     SocketOptions              = socketOptions;
 }
Esempio n. 2
0
 public ZmqTransport(IZmqTransportConfiguration configuration, IZmqSocketOptions socketOptions)
 {
     _configuration             = configuration;
     _configuredInboundEndPoint = new ZmqEndPoint(configuration.InboundEndPoint);
     SocketOptions = socketOptions;
 }
Esempio n. 3
0
 public CapturingIsListeningTimeZmqTransport(IZmqTransportConfiguration configuration, Stopwatch stopwatch) : base(configuration, new ZmqSocketOptions())
 {
     _stopwatch = stopwatch;
     IsListeningSwitchTimestamp = TimeSpan.MaxValue;
 }
Esempio n. 4
0
 public CapturingIsListeningTimeZmqTransport(IZmqTransportConfiguration configuration, Stopwatch stopwatch)
     : base(configuration, new ZmqSocketOptions())
 {
     _stopwatch = stopwatch;
     IsListeningSwitchTimestamp = TimeSpan.MaxValue;
 }