mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02: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();
|
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.
|
* Returns true if the connection is disconnected by a Stream resumption via Stream Management is possible.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue