Package | Description |
---|---|
tigase.cluster | |
tigase.cluster.strategy |
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.
|
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.
|
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.
|
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.