public ConnectionSecureOrTune ConnectionSecureOk(byte[] response) { ConnectionStartRpcContinuation k = new ConnectionStartRpcContinuation(); Enqueue(k); try { _Private_ConnectionSecureOk(response); } catch (AlreadyClosedException) { // let continuation throw OperationInterruptedException, // which is a much more suitable exception before connection // negotiation finishes } k.GetReply(); return k.m_result; }
public ConnectionSecureOrTune ConnectionStartOk(IDictionary<string, object> clientProperties, string mechanism, byte[] response, string locale) { ConnectionStartRpcContinuation k = new ConnectionStartRpcContinuation(); Enqueue(k); try { _Private_ConnectionStartOk(clientProperties, mechanism, response, locale); } catch (AlreadyClosedException) { // Ignored, see BasicGet } k.GetReply(); return k.m_result; }
public ConnectionSecureOrTune ConnectionStartOk(IDictionary<string, object> clientProperties, string mechanism, byte[] response, string locale) { ConnectionStartRpcContinuation k = new ConnectionStartRpcContinuation(); Enqueue(k); try { _Private_ConnectionStartOk(clientProperties, mechanism, response, locale); } catch (AlreadyClosedException) { // let continuation throw OperationInterruptedException, // which is a much more suitable exception before connection // negotiation finishes } k.GetReply(); return k.m_result; }
public ConnectionSecureOrTune ConnectionSecureOk(byte[] response) { ConnectionStartRpcContinuation k = new ConnectionStartRpcContinuation(); Enqueue(k); try { _Private_ConnectionSecureOk(response); } catch (AlreadyClosedException) { // Ignored, see BasicGet } k.GetReply(); return k.m_result; }