public interface RemoteSessionLocator
XMPPServer.setRemoteSessionLocator(RemoteSessionLocator)
to
set the session locator to use. When not running inside of a cluster
XMPPServer.getRemoteSessionLocator()
will always return null.Modifier and Type | Method and Description |
---|---|
ClientSession |
getClientSession(byte[] nodeID,
org.xmpp.packet.JID address)
Returns a session surrogate of a client session hosted by a remote cluster node.
|
ComponentSession |
getComponentSession(byte[] nodeID,
org.xmpp.packet.JID address)
Returns a session surrogate of a component session hosted by a remote cluster node.
|
ConnectionMultiplexerSession |
getConnectionMultiplexerSession(byte[] nodeID,
org.xmpp.packet.JID address)
Returns a session surrogate of a Connection Multiplexer session hosted by a remote cluster node.
|
IncomingServerSession |
getIncomingServerSession(byte[] nodeID,
StreamID streamID)
Returns a session surrogate of an incoming server session hosted by a remote cluster node.
|
OutgoingServerSession |
getOutgoingServerSession(byte[] nodeID,
DomainPair address)
Returns a session surrogate of an outgoing server session hosted by a remote cluster node.
|
ClientSession getClientSession(byte[] nodeID, org.xmpp.packet.JID address)
nodeID
- the ID of the node hosting the session.address
- the address that uniquely identifies the session.ComponentSession getComponentSession(byte[] nodeID, org.xmpp.packet.JID address)
nodeID
- the ID of the node hosting the session.address
- the address that uniquely identifies the session.ConnectionMultiplexerSession getConnectionMultiplexerSession(byte[] nodeID, org.xmpp.packet.JID address)
nodeID
- the ID of the node hosting the session.address
- the address that uniquely identifies the session.IncomingServerSession getIncomingServerSession(byte[] nodeID, StreamID streamID)
nodeID
- the ID of the node hosting the session.streamID
- the stream ID that uniquely identifies the session.OutgoingServerSession getOutgoingServerSession(byte[] nodeID, DomainPair address)
nodeID
- the ID of the node hosting the session.address
- the address that uniquely identifies the session.Copyright © 2003–2019 Ignite Realtime. All rights reserved.