Add XMPPTCPConnection.streamWasResumed()

This commit is contained in:
Florian Schmaus 2014-12-17 10:34:16 +01:00
parent 84ffa265ce
commit d0341c1d94
1 changed files with 9 additions and 0 deletions

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.
*