blob: 0f9a479edc7b4a1279aa41f7514c9c857ca1b744 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace Apache.Qpid.Proton.Client
{
/// <summary>
/// Defines the delivery modes that a sender or receiver can be configured with.
/// </summary>
public enum DeliveryMode
{
/// <summary>
/// At most once delivery mode which configures the sender or receiver to
/// request pre-settled deliveries. This is lowest level of reliability but
/// the fastest overall mode as it does not require round trips from the
/// remote to accept or settle the delivery.
/// </summary>
AtMostOnce,
/// <summary>
/// At least once deliver mode which configures the sender or receiver to
/// require that delivery be settled upon receipt.
/// </summary>
AtLeastOnce
}
}