public UnixSocketConnectionListener(UnixDomainSocketEndPoint unixEndpoint, EndPoint endpoint, UnixSocketConnectionOptions socketConnectionOptions, SocketsTrace trace, SocketSchedulers schedulers) { _unixEndpoint = unixEndpoint; _endpoint = endpoint; _socketConnectionOptions = socketConnectionOptions; _trace = trace; _schedulers = schedulers; _memoryPool = socketConnectionOptions.MemoryPoolFactory(); }
public UnixSocketConnectionListenerFactory( ILoggerFactory loggerFactory, IOptions <UnixSocketConnectionOptions> socketConnectionOptions, SocketSchedulers schedulers) { this.socketConnectionOptions = socketConnectionOptions.Value; var logger = loggerFactory.CreateLogger("Orleans.UnixSockets"); this.trace = new SocketsTrace(logger); this.schedulers = schedulers; }
public UnixSocketConnectionFactory( ILoggerFactory loggerFactory, IOptions <UnixSocketConnectionOptions> options, SocketSchedulers schedulers, SharedMemoryPool memoryPool) { var logger = loggerFactory.CreateLogger("Orleans.UnixSocket"); this.trace = new SocketsTrace(logger); this.socketConnectionOptions = options.Value; this.schedulers = schedulers; this.memoryPool = memoryPool.Pool; }