1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-18 09:34:53 +02:00

Add XMPPTCPConnection.streamWasResumed()

This commit is contained in:
Florian Schmaus 2014-12-17 10:34:16 +01:00
parent 84ffa265ce
commit d0341c1d94

View file

@ -1624,6 +1624,15 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
return smEnabledSyncPoint.wasSuccessful();
}
/**
* Returns true if the stream was successfully resumed with help of Stream Management.
*
* @return true if the stream was resumed.
*/
public boolean streamWasResumed() {
return smResumedSyncPoint.wasSuccessful();
}
/**
* Returns true if the connection is disconnected by a Stream resumption via Stream Management is possible.
*