public RegisterResponse EndSendRegister(IAsyncResult ar) { RegisterResponse response; try { Message message = base.EndSendRequest(ar, base.coordinationStrings.RegisterResponseAction); using (message) { if (DebugTrace.Verbose) { DebugTrace.Trace(TraceLevel.Verbose, "Dispatching RegisterResponse reply"); if (DebugTrace.Pii) { DebugTrace.TracePii(TraceLevel.Verbose, "Sender is {0}", CoordinationServiceSecurity.GetSenderName(message)); } } response = new RegisterResponse(message, base.protocolVersion); } } catch (CommunicationException exception) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WsatReceiveFailureException(exception)); } return response; }
public MsgRegisterDurableResponseEvent(CoordinatorEnlistment coordinator, RegisterResponse response, TwoPhaseCommitCoordinatorProxy proxy) : base(coordinator, response, proxy) { this.coordinator = coordinator; }
public static void SendRegisterResponse(Microsoft.Transactions.Wsat.Messaging.RequestAsyncResult result, ref RegisterResponse response) { Message reply = new RegisterResponseMessage(result.MessageVersion, ref response); result.Finished(reply); }
public static void SendRegisterResponse(Microsoft.Transactions.Wsat.Messaging.RequestAsyncResult result, ref RegisterResponse response) { Message reply = new RegisterResponseMessage(result.MessageVersion, ref response); result.Finished(reply); }
public MsgRegisterVolatileResponseEvent(VolatileCoordinatorEnlistment volatileCoordinator, RegisterResponse response, TwoPhaseCommitCoordinatorProxy proxy) : base(volatileCoordinator, response, proxy) { this.volatileCoordinator = volatileCoordinator; }
public MsgRegisterResponseEvent(CoordinatorEnlistmentBase coordinator, RegisterResponse response, TwoPhaseCommitCoordinatorProxy proxy) : base(coordinator) { proxy.AddRef(); this.proxy = proxy; }
public RegisterResponseMessage(MessageVersion version, ref RegisterResponse response) : base(CoordinationStrings.Version(response.ProtocolVersion).RegisterResponseAction, version) { this.response = response; }
public void SendRegisterResponse(Microsoft.Transactions.Wsat.Protocol.TransactionEnlistment enlistment, Microsoft.Transactions.Wsat.Messaging.RequestAsyncResult result, ControlProtocol protocol, EndpointAddress coordinatorService) { RegisterResponse response = new RegisterResponse(this.state.ProtocolVersion) { CoordinatorProtocolService = coordinatorService }; if (DebugTrace.Info) { DebugTrace.TxTrace(TraceLevel.Info, enlistment.EnlistmentId, "Sending RegisterResponse for {0}", protocol); } RegistrationProxy.SendRegisterResponse(result, ref response); }