|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.sip.EventPackageSupport.Subscription
protected static class EventPackageSupport.Subscription
Represents a general event package subscription in the sense of RFC 3265 "Session Initiation Protocol (SIP)-Specific Event Notification" and its signaling characteristics such as Request URI, id tag value of its Event header.
| Field Summary | |
|---|---|
protected javax.sip.address.Address |
address
The subscription Address/Request URI associated with
this instance and the target of the SUBSCRIBE requests being created
as descriptions of this instance or of the NOTIFY requests being
sent. |
protected String |
eventId
The id tag to be present in Event headers in order to have this Subscription associated with a specific
Request or Response. |
| Constructor Summary | |
|---|---|
EventPackageSupport.Subscription(javax.sip.address.Address address,
String eventId)
Initializes a new Subscription instance with a specific
subscription Address/Request URI and a specific id tag
of the associated Event headers. |
|
| Method Summary | |
|---|---|
protected boolean |
addressEquals(javax.sip.address.Address address)
Determines whether the Address/Request URI of this Subscription is equal to a specific Address in the sense of identifying one and the same resource. |
protected boolean |
equals(javax.sip.address.Address address,
String eventId)
Determines whether this Subscription is identified by a specific subscription Address/Request URI and a specific id tag of Event headers. |
javax.sip.address.Address |
getAddress()
Gets the subscription Address/Request URI associated
with this instance and the target of the SUBSCRIBE requests being
created as descriptions of this instance or of the NOTIFY requests
being sent. |
protected javax.sip.Dialog |
getDialog()
Gets the Dialog which was created by the SUBSCRIBE
request associated with this Subscription or which was
used to send that request in. |
String |
getEventId()
Gets the id tag to be present in Event headers in order to have this Subscription associated with a specific
Request or Response. |
protected void |
removed()
Notifies this Subscription that it has been removed from
the list of subscriptions of the EventPackageSupport
which used to contain it. |
protected void |
setDialog(javax.sip.Dialog dialog)
Sets the Dialog which was created by the SUBSCRIBE
request associated with this Subscription or which was
used to send that request in. |
protected void |
setTimerTask(TimerTask timerTask)
Sets the TimerTask associated this
Subscription. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final javax.sip.address.Address address
Address/Request URI associated with
this instance and the target of the SUBSCRIBE requests being created
as descriptions of this instance or of the NOTIFY requests being
sent.
protected final String eventId
Subscription associated with a specific
Request or Response.
| Constructor Detail |
|---|
public EventPackageSupport.Subscription(javax.sip.address.Address address,
String eventId)
Subscription instance with a specific
subscription Address/Request URI and a specific id tag
of the associated Event headers.
address - the subscription Address/Request URI which is
to be the target of the SUBSCRIBE requests associated with
the new instance or of the NOTIFY requests to be senteventId - the value of the id tag to be placed in the Event headers
of the SUBSCRIBE and/or NOTIFY requests created for the
new instance and to be present in the received Event
headers in order to have the new instance associated with
them| Method Detail |
|---|
protected boolean addressEquals(javax.sip.address.Address address)
address - the Address to be checked for value equality
to the Address/Request URI of this Subscription
protected boolean equals(javax.sip.address.Address address,
String eventId)
address - the subscription Address/Request URI to be
compared to the respective property of this SubscriptioneventId - the id tag of Event headers to be compared to the
respective property of this Subscription
public final javax.sip.address.Address getAddress()
Address/Request URI associated
with this instance and the target of the SUBSCRIBE requests being
created as descriptions of this instance or of the NOTIFY requests
being sent.
Address/Request URI associated
with this instance and the target of the SUBSCRIBE requests
being created as descriptions of this instance or of the
NOTIFY requests being sentprotected javax.sip.Dialog getDialog()
Dialog which was created by the SUBSCRIBE
request associated with this Subscription or which was
used to send that request in.
Dialog which was created by the SUBSCRIBE
request associated with this Subscription or
which was used to send that request in; null if the
success of the SUBSCRIBE request has not been confirmed yet
or this Subscription was removed from the list
of the EventPackageSupport it used to be inpublic final String getEventId()
Subscription associated with a specific
Request or Response. It is also being added
to the Event headers when they are created during the generation of
Requests or Responses describing this
Subscription instance.
Subscription associated with a specific
Request or Responseprotected void removed()
Subscription that it has been removed from
the list of subscriptions of the EventPackageSupport
which used to contain it.
protected void setDialog(javax.sip.Dialog dialog)
Dialog which was created by the SUBSCRIBE
request associated with this Subscription or which was
used to send that request in.
dialog - the Dialog which was created by the SUBSCRIBE
request associated with this Subscription or
which was used to send that request inprotected void setTimerTask(TimerTask timerTask)
TimerTask associated this
Subscription. If this Subscription already
knows of a different TimerTask, that different one is
first canceled before remembering the specified new one.
timerTask - a TimerTask to be associated with this
Subscription
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||