Class CallbackSubscription
- Assembly
- IpPbxCDSClientLib.dll
Base class of all change management subscriptions
public class CallbackSubscription
- Inheritance
-
CallbackSubscription
- Derived
Constructors
CallbackSubscription()
Standard constructor
public CallbackSubscription()
CallbackSubscription(SubscriptionType)
Constructor
public CallbackSubscription(SubscriptionType eType)
Parameters
eType
SubscriptionTypeThe type of the subscription
Fields
m_eType
protected SubscriptionType m_eType
Field Value
- SubscriptionType
m_gSubcriptionID
protected Guid m_gSubcriptionID
Field Value
m_gSubscriberID
protected Guid m_gSubscriberID
Field Value
m_iEntityID
protected int m_iEntityID
Field Value
Properties
ContextNum
An optional number that can be set by the subscriber
public long ContextNum { get; set; }
Property Value
ContextText
An optional text that can be set by the subscriber
public string ContextText { get; set; }
Property Value
EntityID
Gets or sets the optional id of the observed entry or entity. (UserID, PortID, etc.)
public int EntityID { get; set; }
Property Value
SubscriberID
Gets the ID of the subscriber
public Guid SubscriberID { get; }
Property Value
SubscriptionID
Gets or sets the ID of the subscription
public Guid SubscriptionID { get; set; }
Property Value
SubscriptionType
Gets the subscription type
public SubscriptionType SubscriptionType { get; }
Property Value
- SubscriptionType
SubscriptionTypeName
gets the subscription type as a Name
public string SubscriptionTypeName { get; }
Property Value
Methods
AddCallback(OnCallback)
Adds a callback delegate. Used only by the unmanaged wrapper.
public void AddCallback(OnCallback callback)
Parameters
callback
OnCallback
Notify(CallbackEventArgs)
Notify method called by derived classes to call the unmanaged wrapper callback handler
protected void Notify(CallbackEventArgs args)
Parameters
args
CallbackEventArgs
RemoveCallback(OnCallback)
Removes a delegate. Used only by the unmanaged wrapper
public void RemoveCallback(OnCallback callback)
Parameters
callback
OnCallback
TraceNotify(CallbackEventArgs)
protected void TraceNotify(CallbackEventArgs eventArgs)
Parameters
eventArgs
CallbackEventArgs
Events
OnCallback
Occurs after configuration has been changed
protected event OnCallback OnCallback