public ListenerContext(ListenerContext listenerContext) : base(listenerContext) { ServerAddress = listenerContext.ServerAddress; Thread = listenerContext.Thread; Memory = listenerContext.Memory; ConnectionManager = listenerContext.ConnectionManager; WriteReqPool = listenerContext.WriteReqPool; }
public ConnectionContext(ListenerContext context) : base(context) { this.DecodingSettings = new ProcessingSettings(ProcessingType.Decoding, context.Binding.Decoding); this.EncodingSettings = new ProcessingSettings(ProcessingType.Encoding, context.Binding.Encoding); }