1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 01:29:38 +02:00

Move TLS and SASL sync points into subclasses

In preperation of subclasses with different connection approaches.
This commit is contained in:
Florian Schmaus 2018-02-20 09:01:11 +01:00
parent 5e25491877
commit 793d3c47ad
4 changed files with 6 additions and 11 deletions

View file

@ -92,8 +92,6 @@ public class DummyConnection extends AbstractXMPPConnection {
@Override
protected void connectInternal() {
connected = true;
saslFeatureReceived.reportSuccess();
tlsHandled.reportSuccess();
streamId = "dummy-" + new Random(new Date().getTime()).nextInt();
// TODO: Remove in Smack 4.3, and likely the suppression of the deprecation warning.