Edit

Share via


ISipSubscriptionProcessor Interface

Definition

Represents the interface that needs to be implemented by users of the SipSubscription class. The reference to this interface needs to be passed to the SipSubscription class instantiation.

public interface class ISipSubscriptionProcessor
public interface ISipSubscriptionProcessor
type ISipSubscriptionProcessor = interface
Public Interface ISipSubscriptionProcessor
Derived

Methods

GetExtensionHeaders(SipSubscription+RequestType, IEnumerable<SignalingHeader>)

Put the additional extension headers on extensionHeader to be included in request based on requestType.

GetMessageBody(SipSubscription+RequestType, ContentType, Byte[])

Puts the desired ContentType and messageBody on out params for the given requestType.

ProcessErrorResponse(SipResponseData)

ProcessErrorResponse is invoked, when non-200 response is received from the server.

ProcessNotification(SipMessageData)

SipSubscription invokes this method for every notification. Users should implement the notification message processing and appropriate event raising code here.

SubscriptionStateChanged(SubscriptionStateChangedEventArgs)

SipSubscription invokes this method whenever any subscription signaling state changes occur.

Applies to