Exemplo n.º 1
0
        /// <summary>
        /// Allows access to the <see cref="RequestedIncompatibleQosStatus" /> communication status.
        /// </summary>
        /// <param name="status">The <see cref="RequestedIncompatibleQosStatus" /> to be filled up.</param>
        /// <returns>The <see cref="ReturnCode" /> that indicates the operation result.</returns>
        public ReturnCode GetRequestedIncompatibleQosStatus(ref RequestedIncompatibleQosStatus status)
        {
            RequestedIncompatibleQosStatusWrapper s = default;

            ReturnCode ret = UnsafeNativeMethods.GetRequestedIncompatibleQosStatus(_native, ref s);

            status.FromNative(s);

            return(ret);
        }
Exemplo n.º 2
0
        private void OnRequestedIncompatibleQosHandler(IntPtr reader, ref RequestedIncompatibleQosStatusWrapper status)
        {
            Entity entity = EntityManager.Instance.Find(reader);

            DataReader dataReader = null;

            if (entity != null)
            {
                dataReader = entity as DataReader;
            }

            RequestedIncompatibleQosStatus ret = default;

            ret.FromNative(status);

            OnRequestedIncompatibleQos(dataReader, ret);
        }
Exemplo n.º 3
0
 /// <summary>
 /// <para>Handles the <see cref="StatusKind.RequestedIncompatibleQosStatus" /> communication status.</para>
 /// <para>The <see cref="StatusKind.RequestedIncompatibleQosStatus" /> indicates that one or more QoS policy values that
 /// were requested were incompatible with what was offered.</para>
 /// </summary>
 /// <param name="reader">The <see cref="DataReader" /> that triggered the event.</param>
 /// <param name="status">The current <see cref="RequestedIncompatibleQosStatus" />.</param>
 public abstract void OnRequestedIncompatibleQos(DataReader reader, RequestedIncompatibleQosStatus status);