예제 #1
0
        public SealedFABHandlerContext(
            FABChannelPipeline pipeline, IEventExecutor executor, string name, IFABChannelHandler handler)
            : base(pipeline, executor, name, GetSkipPropagationFlags(handler))
        {
            Contract.Requires(handler != null);

            this.handler = handler;
        }
예제 #2
0
        protected FABHandlerContext(FABChannelPipeline pipeline, IEventExecutor executor,
                                    string name, SkipFlags skipPropagationDirections)
        {
            Contract.Requires(pipeline != null);
            Contract.Requires(name != null);

            this.pipeline             = pipeline;
            this.Name                 = name;
            this.executor             = executor;
            this.SkipPropagationFlags = skipPropagationDirections;
        }
예제 #3
0
 public PendingHandlerRemovedTask(FABChannelPipeline pipeline, FABHandlerContext ctx)
     : base(pipeline, ctx)
 {
 }
예제 #4
0
 protected PendingHandlerCallback(FABChannelPipeline pipeline, FABHandlerContext ctx)
 {
     this.Pipeline = pipeline;
     this.Ctx      = ctx;
 }
예제 #5
0
 public HeadContext(FABChannelPipeline pipeline)
     : base(pipeline, null, TailName, sSkipFlags)
 {
     this.channelUnsafe = pipeline.Channel.Unsafe;
     this.SetAdded();
 }
예제 #6
0
 public TailContext(FABChannelPipeline pipeline)
     : base(pipeline, null, TailName, sSkipFlags)
 {
     this.SetAdded();
 }