Example #1
0
        internal void Subscribe(
            MI_OperationFlags flags,
            MI_OperationOptions options,
            string namespaceName,
            string queryDialect,
            string queryExpression,
            MI_SubscriptionDeliveryOptions deliverOptions,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.Subscribe(this,
                              flags,
                              options,
                              namespaceName,
                              queryDialect,
                              queryExpression,
                              deliverOptions,
                              null,
                              operationLocal);

            operation = operationLocal;
        }
        internal MI_Result Clone(
            out MI_SubscriptionDeliveryOptions newSubscriptionDeliveryOptions
            )
        {
            MI_SubscriptionDeliveryOptions newSubscriptionDeliveryOptionsLocal =
                MI_SubscriptionDeliveryOptions.NewIndirectPtr();

            MI_Result resultLocal = this.ft.Clone(this,
                                                  newSubscriptionDeliveryOptionsLocal);

            newSubscriptionDeliveryOptions = newSubscriptionDeliveryOptionsLocal;
            return(resultLocal);
        }
Example #3
0
        internal MI_Result NewSubscriptionDeliveryOptions(
            MI_SubscriptionDeliveryType deliveryType,
            out MI_SubscriptionDeliveryOptions deliveryOptions
            )
        {
            MI_SubscriptionDeliveryOptions deliveryOptionsLocal =
                MI_SubscriptionDeliveryOptions.NewIndirectPtr();

            MI_Result resultLocal = this.ft.NewSubscriptionDeliveryOptions(this,
                                                                           deliveryType,
                                                                           deliveryOptionsLocal);

            deliveryOptions = deliveryOptionsLocal;
            return(resultLocal);
        }