tigase.sys

## Interface OnlineJidsReporter

- All Known Subinterfaces:
    ClusteringStrategyIfc<E>
  All Known Implementing Classes:
    DefaultClusteringStrategy, DefaultClusteringStrategyAbstract, SessionManager, SessionManagerClustered, SMNonCachingAllNodes

      public interface OnlineJidsReporter

  Created: Apr 19, 2009 12:15:07 AM
  Version:
    $Rev$
  Author:
    Artur Hefczyc

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `containsJid(tigase.xmpp.BareJID jid)` Checks whether there is an online session for the given user BareJID.
    `tigase.xmpp.JID[]` | `getConnectionIdsForJid(tigase.xmpp.BareJID jid)` Retrieve all connection IDs (CIDs) for the given user.
    `boolean` | `hasCompleteJidsInfo()` Indicates whether given `OnlineJidsReporter` contains complete information about connected JIDs.

- - ### Method Detail

    - #### hasCompleteJidsInfo

          boolean hasCompleteJidsInfo()

      Indicates whether given `OnlineJidsReporter` contains complete information about connected JIDs.
      Returns:
        `true` if the informations are complete, `false` otherwise.

    - #### containsJid

          boolean containsJid(tigase.xmpp.BareJID jid)

      Checks whether there is an online session for the given user BareJID.
      Parameters:
        `jid` - id of the user which we want to check.
      Returns:
        `true` if there is user session for the given JID, `false` otherwise.

    - #### getConnectionIdsForJid

          tigase.xmpp.JID[] getConnectionIdsForJid(tigase.xmpp.BareJID jid)

      Retrieve all connection IDs (CIDs) for the given user.
      Parameters:
        `jid` - id of the user for which we want to retrieve the list.
      Returns:
        an array of `JID` containing all Connection IDs (CIDs) for the given user.

Copyright © 2014 "Tigase, Inc.". All rights reserved.