public ZmqTransport(IZmqTransportConfiguration configuration, ZmqSocketOptions socketOptions, IZmqOutboundSocketErrorHandler errorHandler) { _configuration = configuration; _errorHandler = errorHandler; _configuredInboundEndPoint = new ZmqEndPoint(configuration.InboundEndPoint); SocketOptions = socketOptions; }
public ZmqOutboundSocket(ZmqContext context, PeerId peerId, string endPoint, ZmqSocketOptions options, IZmqOutboundSocketErrorHandler errorHandler) { _context = context; _options = options; _errorHandler = errorHandler; PeerId = peerId; EndPoint = endPoint; }