Search in sources :

Example 21 with ClusterTask

use of org.jivesoftware.util.cache.ClusterTask in project Openfire by igniterealtime.

the class RemoteSession method getStreamID.

public StreamID getStreamID() {
    // Get it once and cache it since it never changes
    if (streamID == null) {
        ClusterTask task = getRemoteSessionTask(RemoteSessionTask.Operation.getStreamID);
        streamID = (StreamID) doSynchronousClusterTask(task);
    }
    return streamID;
}
Also used : ClusterTask(org.jivesoftware.util.cache.ClusterTask)

Aggregations

ClusterTask (org.jivesoftware.util.cache.ClusterTask)21 Presence (org.xmpp.packet.Presence)2