public TcpTransport(ActorSystem system, DotNettySettings settings) { this.System = system; this.Settings = settings; this.log = Logging.GetLogger(System, GetType()); this.serverEventLoopGroup = new MultithreadEventLoopGroup(this.Settings.ServerSocketWorkerPoolSize); this.clientEventLoopGroup = new MultithreadEventLoopGroup(this.Settings.ClientSocketWorkerPoolSize); this.connectionGroup = new ConcurrentSet <IChannel>(); this.associationListenerPromise = new TaskCompletionSource <IAssociationEventListener>(); }
public TcpTransport(ActorSystem system, Config config) : this(system, DotNettySettings.Create(config)) { }
public TcpTransport(ActorSystem system) : this(system, DotNettySettings.Create(system)) { }