## Uses of Class
tigase.cluster.strategy.ConnectionRecord

- Packages that use ConnectionRecord
  Package | Description
  --- | ---
  tigase.cluster |
  tigase.cluster.strategy |

- - ### Uses of ConnectionRecord in tigase.cluster

    Methods in tigase.cluster that return ConnectionRecord
    Modifier and Type | Method and Description
    --- | ---
    `protected ConnectionRecord` | SessionManagerClustered.`getConnectionRecord(tigase.xmpp.JID node, Map<String,String> data)` Method takes the data received from other cluster node and creates a ConnectionRecord with all essential connection information.

  - ### Uses of ConnectionRecord in tigase.cluster.strategy

    Methods in tigase.cluster.strategy that return ConnectionRecord
    Modifier and Type | Method and Description
    --- | ---
    `ConnectionRecord` | SMNonCachingAllNodes.`getConnectionRecord(tigase.xmpp.JID jid)`
    `ConnectionRecord` | ClusteringStrategyIfc.`getConnectionRecord(tigase.xmpp.JID jid)` Returns a ConnectionRecord object associated with this user's full JID if it exists in the cache or null if it does not.

    Methods in tigase.cluster.strategy that return types with arguments of type ConnectionRecord
    Modifier and Type | Method and Description
    --- | ---
    `Set<ConnectionRecord>` | SMNonCachingAllNodes.`getConnectionRecords(tigase.xmpp.BareJID bareJID)`
    `Set<ConnectionRecord>` | ClusteringStrategyIfc.`getConnectionRecords(tigase.xmpp.BareJID bareJID)` Returns a set with all ConnectionRecords found in the cache for a given user ID, that is BareJID.

    Methods in tigase.cluster.strategy with parameters of type ConnectionRecord
    Modifier and Type | Method and Description
    --- | ---
    `int` | ConnectionRecord.`compareTo(ConnectionRecord rec)`
    `void` | SMNonCachingAllNodes.`presenceUpdate(tigase.xml.Element presence, ConnectionRecord rec)`
    `void` | ClusteringStrategyIfc.`presenceUpdate(tigase.xml.Element presence, ConnectionRecord rec)` The method is called on user's presence update received from a remote cluster node.
    `void` | SMNonCachingAllNodes.`userDisconnected(Queue<Packet> results, ConnectionRecord rec)` Method description
    `void` | ClusteringStrategyIfc.`userDisconnected(Queue<Packet> results, ConnectionRecord rec)` This is a handler method which is called when a user disconnects from some node in the cluster.
    `void` | SMNonCachingAllNodes.`usersConnected(Queue<Packet> results, ConnectionRecord... rec)` Method description
    `void` | ClusteringStrategyIfc.`usersConnected(Queue<Packet> results, ConnectionRecord... rec)` This is a handler method which is called when a user connects to some node in the cluster.

Copyright © 2013 Tigase. All rights reserved.