Class jabberwerx.cisco.QuickContact
Extends
jabberwerx.Contact.
QuickContact object which is temporary subscription contact. This object SHOULD NOT be created directly. Instead, a subscription to a contact should be initiated using jabberwerx.cisco.QuickContactController#subscribe. Upon receiving a presence update for this temporarily subscribed to contact, a new QuickContact object for this contact will be created.
Constructor Attributes | Constructor Name and Description |
---|---|
jabberwerx.cisco.QuickContact(jid, quickContactCtrl)
Creates a new QuickContact with the given jid and QuickContacController. |
- Fields borrowed from class jabberwerx.Entity:
- features, identities, jid, node, properties
- Methods borrowed from class jabberwerx.Entity:
- apply, destroy, getAllPresence, getDisplayName, getGroups, getPrimaryPresence, getResourcePresence, hasFeature, hasIdentity, isActive, matches, remove, setDisplayName, setGroups, toString, update, updatePresence
- Methods borrowed from class jabberwerx.JWModel:
- applyEvent, event, shouldBeSavedWithGraph
- Methods borrowed from class jabberwerx.JWBase:
- getClassName, graphUnserialized, init, invocation, shouldBeSerializedInline, wasUnserialized, willBeSerialized
Class Detail
jabberwerx.cisco.QuickContact(jid, quickContactCtrl)
Creates a new QuickContact with the given jid and QuickContacController.
- Parameters:
- {jabberwerx.JID|String} jid
- A jid corresponding to the QuickContact been created.
- {jabberwerx.cisco.QuickContactController} quickContactCtrl
- The creating QuickContactController
- Throws:
- {TypeError}
- If {quickContactCtrl} is not a valid QuickContactController