예제 #1
0
            public WriteTimeoutTask(IChannelHandlerContext context, Task future, WriteTimeoutHandler handler)
            {
                this.context = context;
                this.future  = future;
                this.handler = handler;

                future.ContinueWith(OperationCompleteAction, this, TaskContinuationOptions.ExecuteSynchronously);
            }
예제 #2
0
 public WriteTimeoutTask(IChannelHandlerContext context, Task future, WriteTimeoutHandler handler)
 {
     _context = context;
     _future  = future;
     _handler = handler;
 }
 public WriteTimeoutTask(IChannelHandlerContext context, Task future, WriteTimeoutHandler handler)
 {
     this.context = context;
     this.future  = future;
     this.handler = handler;
 }