Uses of Class
org.cafesip.sipunit.Subscription

Uses of Subscription in org.cafesip.sipunit
 

Methods in org.cafesip.sipunit that return Subscription
 Subscription SipPhone.addBuddy(java.lang.String uri, int duration, long timeout)
          This method is the same as addBuddy(uri, duration, eventId, timeout) except that no event "id" parameter will be included.
 Subscription SipPhone.addBuddy(java.lang.String uri, int duration, java.lang.String eventId, long timeout)
          This method adds a buddy to the buddy list and starts an ongoing subscription for purposes of tracking the buddy's presence information.
 Subscription SipPhone.addBuddy(java.lang.String uri, long timeout)
          This method is the same as addBuddy(uri, duration, eventId, timeout) except that the duration is defaulted to the default period defined in the event package RFC (3600 seconds) and no event "id" parameter will be included.
 Subscription SipPhone.addBuddy(java.lang.String uri, java.lang.String eventId, long timeout)
          This method is the same as addBuddy(uri, duration, eventId, timeout) except that the duration is defaulted to the default period defined in the event package RFC (3600 seconds).
 Subscription SipPhone.fetchPresenceInfo(java.lang.String uri, long timeout)
          This method is the same as fetchPresenceInfo(uri, eventId, timeout) except that no event "id" parameter will be included in the SUBSCRIBE message.
 Subscription SipPhone.fetchPresenceInfo(java.lang.String uri, java.lang.String eventId, long timeout)
          This method performs a presence 'fetch' on the given user, to get a one-time report on the user's presence status and information.
 Subscription SipPhone.getBuddyInfo(java.lang.String uri)
          This method returns the Subscription object representing a buddy or user whose presence information was fetched at some previous point.
 Subscription SipPhone.refreshBuddy(java.lang.String uri, int duration, long timeout)
          This method is the same as refreshBuddy(uri, duration, eventId, timeout) except that the eventId remains unchanged from whatever it already was.
 Subscription SipPhone.refreshBuddy(java.lang.String uri, int duration, java.lang.String eventId, long timeout)
          This method updates the presence information of a buddy in the buddy list by initiating a SUBSCRIBE/NOTIFY sequence.
 Subscription SipPhone.refreshBuddy(java.lang.String uri, long timeout)
          This method is the same as refreshBuddy(uri, duration, eventId, timeout) except that the eventId remains unchanged from whatever it already was and the SUBSCRIBE duration sent will be however much time is left on the current subscription.
 Subscription SipPhone.refreshBuddy(java.lang.String uri, javax.sip.message.Request req, long timeout)
          This method is the same as refreshBuddy(uri, duration, eventId, timeout) except that instead of creating the SUBSCRIBE request from parameters passed in, the provided request parameter is used for sending out the SUBSCRIBE message.
 Subscription SipPhone.refreshBuddy(java.lang.String uri, java.lang.String eventId, long timeout)
          This method is the same as refreshBuddy(uri, duration, eventId, timeout) except that the SUBSCRIBE duration sent will be however much time is left on the current subscription.
 Subscription SipPhone.removeBuddy(java.lang.String uri, long timeout)
          This method is the same as removeBuddy(uri, eventId, timeout) except that no event "id" parameter will be included in the unSUBSCRIBE message.
 Subscription SipPhone.removeBuddy(java.lang.String uri, javax.sip.message.Request req, long timeout)
          This method is the same as removeBuddy(uri, eventId, timeout) except that instead of creating the SUBSCRIBE request from parameters passed in, the provided request parameter is used for sending out the SUBSCRIBE message if the subscription is active.
 Subscription SipPhone.removeBuddy(java.lang.String uri, java.lang.String eventId, long timeout)
          This method removes a buddy from the buddy list and initiates a SUBSCRIBE/NOTIFY sequence to terminate the subscription unless the subscription is already terminated.
 

Methods in org.cafesip.sipunit that return types with arguments of type Subscription
 java.util.Hashtable<java.lang.String,Subscription> SipPhone.getBuddyList()
          Returns a copy of the current buddy list on this SipPhone.
 java.util.Hashtable<java.lang.String,Subscription> SipPhone.getRetiredBuddies()
          Returns a copy of the list of subscriptions associated with this SipPhone which are not in the current buddy list.
 

Methods in org.cafesip.sipunit with parameters of type Subscription
 void SipTestCase.assertNoPresenceErrors(java.lang.String msg, Subscription subscription)
          Asserts that the given Subscription has not encountered any errors while processing received SUBSCRIBE responses and received NOTIFY requests.
 void SipTestCase.assertNoPresenceErrors(Subscription subscription)
          Asserts that the given Subscription has not encountered any errors while processing received SUBSCRIBE responses and received NOTIFY requests.
 



http://www.cafesip.org