mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Move TLS and SASL sync points into subclasses
In preperation of subclasses with different connection approaches.
This commit is contained in:
parent
5e25491877
commit
793d3c47ad
4 changed files with 6 additions and 11 deletions
|
@ -903,6 +903,12 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
|
||||
// We connected successfully to the servers TCP port
|
||||
initConnection();
|
||||
|
||||
// TLS handled will be successful either if TLS was established, or if it was not mandatory.
|
||||
tlsHandled.checkIfSuccessOrWaitOrThrow();
|
||||
|
||||
// Wait with SASL auth until the SASL mechanisms have been received
|
||||
saslFeatureReceived.checkIfSuccessOrWaitOrThrow();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue