コード例 #1
0
 def outcome(self):
     """
     Retrieve the outcome of SASL negotiation.
     
     :rtype: * ``None`` if no negotiation has taken place.
             * Otherwise the outcome of the negotiation.
     """
     outcome = pn_sasl_outcome(self._sasl)
     if outcome == PN_SASL_NONE:
         return None
     else:
         return outcome
コード例 #2
0
ファイル: _transport.py プロジェクト: apache/qpid-proton
 def outcome(self):
     outcome = pn_sasl_outcome(self._sasl)
     if outcome == PN_SASL_NONE:
         return None
     else:
         return outcome
コード例 #3
0
ファイル: _transport.py プロジェクト: archerabi/qpid-proton
 def outcome(self):
     outcome = pn_sasl_outcome(self._sasl)
     if outcome == PN_SASL_NONE:
         return None
     else:
         return outcome