mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
commit
afbe833a97
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ import org.jivesoftware.smack.ConnectionConfiguration;
|
|||
* </p>
|
||||
* <pre>
|
||||
* {@code
|
||||
* XMPPTCPConnectionConfiguration conf = XMPPConnectionConfiguration.builder()
|
||||
* XMPPTCPConnectionConfiguration conf = XMPPTCPConnectionConfiguration.builder()
|
||||
* .setXmppDomain("example.org").setUsernameAndPassword("user", "password")
|
||||
* .setCompressionEnabled(false).build();
|
||||
* XMPPTCPConnection connection = new XMPPTCPConnection(conf);
|
||||
|
|
|
@ -587,7 +587,7 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM
|
|||
|
||||
@Override
|
||||
protected List<SmackFuture<LookupConnectionEndpointsResult, Exception>> lookupConnectionEndpoints() {
|
||||
// Assert that there are no stale discovred endpoints prior performing the lookup.
|
||||
// Assert that there are no stale discovered endpoints prior performing the lookup.
|
||||
assert discoveredTcpEndpoints == null;
|
||||
|
||||
List<SmackFuture<LookupConnectionEndpointsResult, Exception>> futures = new ArrayList<>(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue