Пример #1
0
        /// <summary>
        /// Set the subscription type for the subscription being created.
        /// If not called the subscription type defaults to MAMA_SUBSC_TYPE_NORMAL.
        /// See mamaSubscriptionType enum for valid values.
        /// </summary>
        /// <param name="type">
        /// The type to set.
        /// </param>
        public void setSubscriptionType(mamaSubscriptionType type)
        {
            // Verify that the native subscription has been allocated
            EnsurePeerCreated();

            // Call the native layer to set the subscription type
            CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setSubscriptionType(NativeHandle, (int)type));
        }
Пример #2
0
 /// <summary>
 /// Set the subscrption type.  Do this before calling activate()
 /// Default is <code>mamaSubscriptionType.MAMA_SUBSC_TYPE_NORMAL</code>
 /// </summary>
 /// <param name="type"></param>
 public void setType(mamaSubscriptionType type)
 {
     mType = type;
 }
Пример #3
0
		/// <summary>
		/// Set the subscrption type.  Do this before calling activate()
		/// Default is <code>mamaSubscriptionType.MAMA_SUBSC_TYPE_NORMAL</code>
		/// </summary>
		/// <param name="type"></param>
		public void setType(mamaSubscriptionType type)
		{
			mType = type;
		}
Пример #4
0
        /// <summary>
        /// Set the subscription type for the subscription being created.
        /// If not called the subscription type defaults to MAMA_SUBSC_TYPE_NORMAL.
        /// See mamaSubscriptionType enum for valid values.
        /// </summary>
        /// <param name="type">
        /// The type to set.
        /// </param>
        public void setSubscriptionType(mamaSubscriptionType type)
        {
            // Verify that the native subscription has been allocated
            EnsurePeerCreated();

            // Call the native layer to set the subscription type
            CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setSubscriptionType(NativeHandle, (int)type));            
        }