Package | Description |
---|---|
net.java.sip.communicator.impl.protocol.sip |
Modifier and Type | Method and Description |
---|---|
protected EventPackageSubscriber.Subscription |
EventPackageSubscriber.getSubscription(javax.sip.address.Address toAddress,
java.lang.String eventId)
Gets the Subscription from the list of subscriptions managed by
this instance which is associated with a specific subscription
Address/Request URI and has a specific id tag in its Event
header.
|
protected EventPackageSubscriber.Subscription |
EventPackageSubscriber.getSubscription(java.lang.String callId)
Gets the Subscription from the list of subscriptions managed by
this instance which is associated with a specific CallId.
|
Modifier and Type | Method and Description |
---|---|
void |
EventPackageSubscriber.poll(EventPackageSubscriber.Subscription subscription)
Adds a specific Subscription to the list of subscriptions
managed by this instance only if another Subscription with the
same subscription Address/Request URI and id tag of its
associated Event header does not exist in the list.
|
protected void |
EventPackageSubscriber.populateSubscribeRequest(javax.sip.message.Request req,
EventPackageSubscriber.Subscription subscription,
int expires)
Populates a specific Request instance with the headers
common to dialog-creating Requests and ones sent inside
existing dialogs and specific to the general event package subscription
functionality that this instance and a specific Subscription
represent.
|
void |
EventPackageSubscriber.subscribe(EventPackageSubscriber.Subscription subscription)
Creates and sends a SUBSCRIBE request to the subscription
Address/Request URI of a specific Subscription
in order to request receiving event notifications and adds the specified
Subscription to the list of subscriptions managed by this
instance.
|
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.