protected EventDrivenSessionMessagePump(MessageClientEntity messageClient, ReceiveMode mode, string @namespace, string path)
     : base(mode, @namespace, path)
 {
     _messageClient = messageClient;
 }
        public GetRuntimeEntityDescriptionAsyncResult(TrackingContext trackingContext, MessageClientEntity clientEntity, string entityAddress, SbmpMessagingFactory factory, SbmpMessageCreator messageCreator, bool executeOnce, TimeSpan timeout, AsyncCallback callback, object state) : base(timeout, callback, state)
        {
            this.clientEntity    = clientEntity;
            this.entityAddress   = entityAddress;
            this.factory         = factory;
            this.messageCreator  = messageCreator;
            this.trackingContext = trackingContext ?? TrackingContext.GetInstance(Guid.NewGuid());
            this.executeOnce     = executeOnce;
            GetRuntimeEntityDescriptionAsyncResult getRuntimeEntityDescriptionAsyncResult = this;

            getRuntimeEntityDescriptionAsyncResult.OnCompleting = (Action <AsyncResult, Exception>)Delegate.Combine(getRuntimeEntityDescriptionAsyncResult.OnCompleting, GetRuntimeEntityDescriptionAsyncResult.onFinally);
        }
예제 #3
0
 protected EventDrivenMessagePump(MessageClientEntity messageClient, ReceiveMode mode, string @namespace, string path, OnMessageOptions defaultOptions)
     : base(mode, @namespace, path)
 {
     _messageClient = messageClient;
     _defaultOptions = defaultOptions ?? new OnMessageOptions();
 }
예제 #4
0
 protected EventDrivenSessionMessagePump(MessageClientEntity messageClient, ReceiveMode mode, string @namespace, string path, OnSessionMessageOptions defaultOptions)
     : base(mode, @namespace, path)
 {
     _messageClient  = messageClient;
     _defaultOptions = defaultOptions ?? new OnSessionMessageOptions();
 }