PublishSubscribeSession Members
PublishSubscribeSession class provides a simplified wrapped implementation of ISipSubscriptionProcessor to establish, terminate subscription, processing the SipSubscription event.
The PublishSubscribeSession type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
IsSubscriptionActive | Returns true if session has an active underlying subscription, else returns false. |
![]() |
SubscriberEndpoint | Endpoint of the subscriber, to be used in From address for subscription and publishing. |
![]() |
Subscription | Returns the instance of the underlying subscription object. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
BeginPublishServiceRequest(String, ContentType, String, AsyncCallback, Object) | This method will create a SipService Request for the given contentType and messageBody, service operation started with this method should be completed via calling the EndPublishServiceRequest method. |
![]() |
BeginPublishServiceRequest(String, ContentType, IEnumerable<(Of <<'(SignalingHeader>)>>), String, AsyncCallback, Object) | This method will create a SipService Request for the given contentType, messageBody and additional custom headers. |
![]() |
BeginRefresh | |
![]() |
BeginSubscribe | Create the SipSubscriptionProcessor and invoke BeginSubscribe on the subscription. |
![]() |
BeginUnsubscribe | Invoke BeginTerminate on the subscription, if no underlying subscription exists, then completed as no operation. |
![]() |
EndPublishServiceRequest | End the publish service request operation, which was initiated with StartPublishServiceRequest call. |
![]() |
EndRefresh | Complete the Refresh Operation initiated by BeginRefresh. |
![]() |
EndSubscribe | Complete the Subscribe operation initiated by BeginSubscribe. |
![]() |
EndUnsubscribe | End the async operation started by BeginUnSubscribe method call. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEventPackageName | All derived implementation classes should implement this method, the event package will be used for the subscription for this PublishSubscribeSession. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
RaiseEventViaEndpointQueue<(Of <<'(T>)>>) | |
![]() |
ThrowIfEndpointAndSessionStateNotValid | |
![]() |
ThrowIfEndpointNotEstablished | [Value Needed]. |
![]() |
ThrowIfSessionStateNotValid | [Value Needed]. |
![]() |
ToString | (Inherited from Object.) |
![]() |
Unbind | Dispose of the processor so that subscribe may be called again. |
Top
Events
Name | Description | |
---|---|---|
![]() |
SignalingSubscriptionStateChange | SubscriptionStateChange event handler notes the change in underlying subscription states. |
Top