Exemple #1
0
    def resume_status(self) -> int:
        """
        Check whether the state has been resumed.

        Used for client session resume.  When called on an active session,
        indicates whether the state has been resumed from a previous session.

        .. note:: This is a best-effort service - there is no guarantee that
            the remote server will accept the resumed parameters.  The remote
            server may choose to ignore these parameters, and request a
            re-negotiation instead.

        :return: Status code indicating whether or not the session has been
                 resumed. One of:
                 * :const:`RESUME_UNKNOWN`
                 * :const:`RESUME_NEW`
                 * :const:`RESUME_REUSED`
        """
        return pn_ssl_resume_status(self._ssl)
Exemple #2
0
 def resume_status(self):
     return pn_ssl_resume_status(self._ssl)
Exemple #3
0
 def resume_status(self):
     return pn_ssl_resume_status(self._ssl)