Inheritance: ServiceContext
 public ListenerContext(ListenerContext listenerContext)
     : base(listenerContext)
 {
     Thread = listenerContext.Thread;
     Application = listenerContext.Application;
     Memory = listenerContext.Memory;
     Memory2 = listenerContext.Memory2;
     Log = listenerContext.Log;
 }
Beispiel #2
0
 public ListenerContext(ListenerContext listenerContext)
     : base(listenerContext)
 {
     Thread      = listenerContext.Thread;
     Application = listenerContext.Application;
     Memory      = listenerContext.Memory;
     Memory2     = listenerContext.Memory2;
     Log         = listenerContext.Log;
 }
 public ListenerContext(ListenerContext listenerContext)
     : base(listenerContext)
 {
     ServerAddress = listenerContext.ServerAddress;
     Thread = listenerContext.Thread;
     Memory2 = listenerContext.Memory2;
     WriteReqPool = listenerContext.WriteReqPool;
     Log = listenerContext.Log;
 }
Beispiel #4
0
 public ListenerContext(ListenerContext listenerContext)
     : base(listenerContext)
 {
     ServerAddress = listenerContext.ServerAddress;
     Thread        = listenerContext.Thread;
     Application   = listenerContext.Application;
     Memory2       = listenerContext.Memory2;
     Log           = listenerContext.Log;
 }
Beispiel #5
0
 public ListenerContext(ListenerContext listenerContext)
     : base(listenerContext)
 {
     ServerAddress = listenerContext.ServerAddress;
     Thread        = listenerContext.Thread;
     Memory2       = listenerContext.Memory2;
     WriteReqPool  = listenerContext.WriteReqPool;
     Log           = listenerContext.Log;
 }
 public ListenerContext(ListenerContext listenerContext)
     : base(listenerContext)
 {
     ServerAddress = listenerContext.ServerAddress;
     Thread = listenerContext.Thread;
     Application = listenerContext.Application;
     Memory2 = listenerContext.Memory2;
     Log = listenerContext.Log;
 }
Beispiel #7
0
        public Connection(ListenerContext context, UvStreamHandle socket) : base(context)
        {
            _socket           = socket;
            ConnectionControl = this;

            _connectionId = Interlocked.Increment(ref _lastConnectionId);

            _rawSocketInput  = new SocketInput(Memory2);
            _rawSocketOutput = new SocketOutput(Thread, _socket, _connectionId, Log);
        }
        public Connection(ListenerContext context, UvStreamHandle socket) : base(context)
        {
            _socket = socket;
            ConnectionControl = this;

            _connectionId = Interlocked.Increment(ref _lastConnectionId);

            _rawSocketInput = new SocketInput(Memory2, ThreadPool);
            _rawSocketOutput = new SocketOutput(Thread, _socket, Memory2, this, _connectionId, Log, ThreadPool, WriteReqPool);
        }
        public Connection(ListenerContext context, UvStreamHandle socket)
            : base(context)
        {
            _socket = socket;
            ConnectionControl = this;

            _connectionId = Interlocked.Increment(ref _lastConnectionId);

            SocketInput = new SocketInput(Memory2);
            SocketOutput = new SocketOutput(Thread, _socket, _connectionId, Log);
            _frame = new Frame(this);
        }
 public ListenerContext(ListenerContext context)
 {
     Thread = context.Thread;
     Application = context.Application;
     Memory = context.Memory;
 }
Beispiel #11
0
 public ListenerContext(ListenerContext context)
 {
     Thread      = context.Thread;
     Application = context.Application;
     Memory      = context.Memory;
 }
 public Connection(ListenerContext context, UvStreamHandle socket) : base(context)
 {
     _socket           = socket;
     ConnectionControl = this;
 }
 public ConnectionContext(ListenerContext context) : base(context)
 {
 }
 public Connection(ListenerContext context, UvStreamHandle socket)
     : base(context)
 {
     _socket = socket;
     ConnectionControl = this;
 }
 public ConnectionContext(ListenerContext context)
     : base(context)
 {
 }