/// <summary> /// Set the MAMA service level. In the future, certain service /// levels may have an optional argument (e.g., an interval for /// conflated data). Do this before calling activate(). /// Default value is <code>MamaServiceLevel.MAMA_SERVICE_LEVEL_REAL_TIME</code> and /// 0 /// </summary> /// <param name="serviceLevel"></param> /// <param name="serviceLevelOpt"></param> public void setServiceLevel( mamaServiceLevel serviceLevel, int serviceLevelOpt) { mServiceLevel = serviceLevel; mServiceLevelOpt = serviceLevelOpt; }
/// <summary> /// Set the service level and an passes an optional service level parameter. This method must be invoked before create(). /// </summary> /// <param name="svcLevel"> /// The service level to set. /// </param> /// <param name="serviceLevelOpt"> /// The service level options. /// </param> public void setServiceLevel(mamaServiceLevel svcLevel, int serviceLevelOpt) { // Verify that the native subscription has been allocated EnsurePeerCreated(); // Call the native layer to set the service level CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setServiceLevel(NativeHandle, (int)svcLevel, serviceLevelOpt)); }
/// <summary> /// Set the MAMA service level. In the future, certain service /// levels may have an optional argument (e.g., an interval for /// conflated data). Do this before calling activate(). /// Default value is <code>MamaServiceLevel.MAMA_SERVICE_LEVEL_REAL_TIME</code> and /// 0 /// </summary> /// <param name="serviceLevel"></param> /// <param name="serviceLevelOpt"></param> public void setServiceLevel( mamaServiceLevel serviceLevel, int serviceLevelOpt) { mServiceLevel = serviceLevel; mServiceLevelOpt = serviceLevelOpt; }
/// <summary> /// Set the service level without any other options. /// This method must be invoked before create(). /// </summary> /// <param name="svcLevel"> /// The service level to set. /// </param> public void setServiceLevel(mamaServiceLevel svcLevel) { // Call the overload setServiceLevel(svcLevel, 0); }
/// <summary> /// Set the service level and an passes an optional service level parameter. This method must be invoked before create(). /// </summary> /// <param name="svcLevel"> /// The service level to set. /// </param> /// <param name="serviceLevelOpt"> /// The service level options. /// </param> public void setServiceLevel(mamaServiceLevel svcLevel, int serviceLevelOpt) { // Verify that the native subscription has been allocated EnsurePeerCreated(); // Call the native layer to set the service level CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setServiceLevel(NativeHandle, (int)svcLevel, serviceLevelOpt)); }
/// <summary> /// Set the service level without any other options. /// This method must be invoked before create(). /// </summary> /// <param name="svcLevel"> /// The service level to set. /// </param> public void setServiceLevel(mamaServiceLevel svcLevel) { // Call the overload setServiceLevel(svcLevel, 0); }