|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cafesip.sipunit.PresenceDeviceInfo
public class PresenceDeviceInfo
This class represents a single Tuple element received in a NOTIFY SIP message - it contains all information about a single active device associated with the presentity (buddy, watchee). These elements are optional in a NOTIFY message. A NOTIFY message will contain the complete information known about the presence of the presentity and include all active devices for that presentity (ie, partial information is not allowed in a NOTIFY message). See RFC 3863 if you need more information.
| Method Summary | |
|---|---|
java.lang.String |
getBasicStatus()
Gets the basic status for this presence device (ie, "open" or "closed"). |
double |
getContactPriority()
Gets the priority of this presence device, relative to others, with respect to contact preference. |
java.lang.String |
getContactURI()
Gets the contact URI for this device. |
java.util.List<java.lang.Object> |
getDeviceExtensions()
Gets the extensions received in the last NOTIFY message, if any, pertaining to this presence device. |
java.util.List<PresenceNote> |
getDeviceNotes()
Gets the notes received in the last NOTIFY message, if any, pertaining to this presence device. |
java.lang.String |
getId()
Gets the unique, arbitrary ID representing this particular presence device. |
java.util.List<java.lang.Object> |
getStatusExtensions()
Gets the extensions received in the last NOTIFY message, if any, pertaining to this device's status. |
java.util.Calendar |
getTimestamp()
Gets the timestamp of when this device's information was set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getBasicStatus()
public double getContactPriority()
public java.lang.String getContactURI()
public java.util.List<java.lang.Object> getDeviceExtensions()
public java.util.List<PresenceNote> getDeviceNotes()
public java.lang.String getId()
public java.util.List<java.lang.Object> getStatusExtensions()
public java.util.Calendar getTimestamp()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||