|  |  | 
    |  | 
        
          | Request(self,
        force=0) Request roster from server if it were not yet requested (or if the
'force' argument is set)
 | source code |  | 
    |  | 
        
          | RosterIqHandler(self,
        dis,
        stanza) Subscription tracker. Used internally for setting items state in internal
roster representation
 | source code |  | 
    |  | 
        
          | PresenceHandler(self,
        dis,
        pres) Presence tracker. Used internally for setting items' resources state in
internal roster representation
 | source code |  | 
    |  | 
        
          | _getItemData(self,
        jid,
        dataname) Return specific jid's representation in internal format. Used internally
 | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | getShow(self,
        jid) Return 'show' value of contact 'jid'. 'jid' should be a full (not bare)
JID
 | source code |  | 
    |  | 
        
          | getStatus(self,
        jid) Return 'status' value of contact 'jid'. 'jid' should be a full (not bare)
JID
 | source code |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | setItem(self,
        jid,
        name=None,
        groups= [])Rename contact 'jid' and sets the groups list that it now belongs to
 | source code |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | keys(self) Same as getItems. Provided for the sake of dictionary interface
 | source code |  | 
    |  | 
        
          | __getitem__(self,
        item) Get the contact in the internal format. Raises KeyError if JID 'item' is
not in roster
 | source code |  | 
    |  | 
        
          | getItem(self,
        item) Get the contact in the internal format (or None if JID 'item' is not in
roster)
 | source code |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | Authorize(self,
        jid) Authorize JID 'jid'. Works only if these JID requested auth previously
 | source code |  | 
    |  | 
        
          | Unauthorize(self,
        jid) Unauthorise JID 'jid'. Use for declining authorisation request or for
removing existing authorization
 | source code |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | plugin(self,
        owner,
        request=1) Register presence and subscription trackers in the owner's dispatcher.
Also request roster from server if the 'request' argument is set. Used
internally
 | source code |  | 
    |  |  | 
    |  | 
        
          | getRoster(self,
        on_ready=None,
        force=False) Request roster from server if neccessary and returns self
 | source code |  | 
  
    | Inherited from plugin.PlugIn:PlugIn,PlugOut |