Clean
This commit is contained in:
@@ -26,63 +26,63 @@ using System;
|
||||
|
||||
namespace Technosoftware.DaAeHdaClient.Ae
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes the state of a subscription.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class TsCAeSubscriptionState : ICloneable
|
||||
{
|
||||
#region Fields
|
||||
/// <summary>
|
||||
/// Describes the state of a subscription.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class TsCAeSubscriptionState : ICloneable
|
||||
{
|
||||
#region Fields
|
||||
private bool active_ = true;
|
||||
#endregion
|
||||
|
||||
#region Constructors, Destructor, Initialization
|
||||
#region Constructors, Destructor, Initialization
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
#region Properties
|
||||
/// <summary>
|
||||
/// A descriptive name for the subscription.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// A descriptive name for the subscription.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A unique identifier for the subscription assigned by the client.
|
||||
/// </summary>
|
||||
public object ClientHandle { get; set; }
|
||||
/// <summary>
|
||||
/// A unique identifier for the subscription assigned by the client.
|
||||
/// </summary>
|
||||
public object ClientHandle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the subscription is monitoring for events to send to the client.
|
||||
/// </summary>
|
||||
public bool Active
|
||||
{
|
||||
get => active_;
|
||||
/// <summary>
|
||||
/// Whether the subscription is monitoring for events to send to the client.
|
||||
/// </summary>
|
||||
public bool Active
|
||||
{
|
||||
get => active_;
|
||||
set => active_ = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The maximum rate at which the server send event notifications.
|
||||
/// </summary>
|
||||
public int BufferTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The requested maximum number of events that will be sent in a single callback.
|
||||
/// </summary>
|
||||
public int MaxSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum period between updates sent to the client.
|
||||
/// </summary>
|
||||
public int KeepAlive { get; set; }
|
||||
#endregion
|
||||
|
||||
#region ICloneable Members
|
||||
/// <summary>
|
||||
/// Creates a shallow copy of the object.
|
||||
/// </summary>
|
||||
public virtual object Clone()
|
||||
{
|
||||
return MemberwiseClone();
|
||||
}
|
||||
/// The maximum rate at which the server send event notifications.
|
||||
/// </summary>
|
||||
public int BufferTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The requested maximum number of events that will be sent in a single callback.
|
||||
/// </summary>
|
||||
public int MaxSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum period between updates sent to the client.
|
||||
/// </summary>
|
||||
public int KeepAlive { get; set; }
|
||||
#endregion
|
||||
}
|
||||
|
||||
#region ICloneable Members
|
||||
/// <summary>
|
||||
/// Creates a shallow copy of the object.
|
||||
/// </summary>
|
||||
public virtual object Clone()
|
||||
{
|
||||
return MemberwiseClone();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user