mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-24 23:32:05 +01:00
Add XMPPTCPConnection.streamWasResumed()
This commit is contained in:
parent
84ffa265ce
commit
d0341c1d94
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue