Esempio n. 1
0
 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>();
 }
Esempio n. 2
0
 public TcpTransport(ActorSystem system, Config config) : this(system, DotNettySettings.Create(config))
 {
 }
Esempio n. 3
0
 public TcpTransport(ActorSystem system) : this(system, DotNettySettings.Create(system))
 {
 }