Esempio n. 1
0
 public MessageProcessor(IAMFContext context, IMessage requestMessage, RemotingService service, AsyncCallback callback, object asyncState)
     : base(callback, asyncState)
 {
     this.context = context;
     this.requestMessage = requestMessage;
     this.service = service;
 }
Esempio n. 2
0
 public MessageProcessor(IAMFContext context, CommandMessage requestMessage, DefaultCommandService service, AsyncCallback callback, object asyncState)
     : base(callback, asyncState)
 {
     this.context        = context;
     this.requestMessage = requestMessage;
     this.service        = service;
 }
Esempio n. 3
0
 public MessageProcessor(IAMFContext context, IMessage requestMessage, RemotingService service, AsyncCallback callback, object asyncState)
     : base(callback, asyncState)
 {
     this.context        = context;
     this.requestMessage = requestMessage;
     this.service        = service;
 }
 public MessageProcessor(IAMFContext context, CommandMessage requestMessage, DefaultCommandService service, AsyncCallback callback, object asyncState)
     : base(callback, asyncState)
 {
     this.context = context;
     this.requestMessage = requestMessage;
     this.service = service;
 }
Esempio n. 5
0
        /// <inheritdoc />
        public override IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback, object asyncState)
        {
            MessageProcessor processor = new MessageProcessor(context, request, this, callback, asyncState);

            processor.BeginTask();
            return(processor);
        }
 /// <inheritdoc />
 public override IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback,
     object asyncState)
 {
     CommandMessage commandMessage = (CommandMessage)request;
     MessageProcessor processor = new MessageProcessor(context, commandMessage, this, callback, asyncState);
     processor.BeginTask();
     return processor;
 }
        /// <inheritdoc />
        public IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback,
            object asyncState)
        {
            if (context == null)
                throw new ArgumentNullException("context");
            if (request == null)
                throw new ArgumentNullException("request");

            IService service = UncheckedGetServiceForMessage(context.Serializer, request);

            MessageProcessor processor = new MessageProcessor(context, request, service, callback, asyncState);
            processor.BeginTask();
            return processor;
        }
Esempio n. 8
0
        /// <inheritdoc />
        public IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback,
                                                object asyncState)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }

            IService service = UncheckedGetServiceForMessage(context.Serializer, request);

            MessageProcessor processor = new MessageProcessor(context, request, service, callback, asyncState);

            processor.BeginTask();
            return(processor);
        }
Esempio n. 9
0
 /// <inheritdoc />
 public override IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback, object asyncState)
 {
     throw new NotImplementedException();
 }
Esempio n. 10
0
 /// <inheritdoc />
 public abstract IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback,
     object asyncState);
 /// <inheritdoc />
 public override IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback, object asyncState)
 {
     throw new NotImplementedException();
 }
Esempio n. 12
0
 /// <inheritdoc />
 public abstract IAsyncResult BeginProcessRequest(IAMFContext context, IMessage request, AsyncCallback callback,
                                                  object asyncState);