/** * Send the completed message. * * @param timedOut true if this is in response to a comms timeout */ private void sendCompleted(boolean timedOut) { final MAP map = createContext() ; try { // if we are trying to reestablish the participant state then send getStatus otherwise send completed if (timedOut && checkStatus) { ParticipantCompletionCoordinatorClient.getClient().sendGetStatus(coordinator, map, instanceIdentifier); ; } else { ParticipantCompletionCoordinatorClient.getClient().sendCompleted(coordinator, map, instanceIdentifier) ; } } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Completed", th) ; } } // if we timed out the increase the resend period otherwise make sure it is reset to the // initial resend period updateResendPeriod(timedOut); initiateTimer() ; }
/** * Send the completed message. * * @param timedOut true if this is in response to a comms timeout */ private void sendCompleted(boolean timedOut) { final MAP map = createContext() ; try { // if we are trying to reestablish the participant state then send getStatus otherwise send completed if (timedOut && checkStatus) { ParticipantCompletionCoordinatorClient.getClient().sendGetStatus(coordinator, map, instanceIdentifier); ; } else { ParticipantCompletionCoordinatorClient.getClient().sendCompleted(coordinator, map, instanceIdentifier) ; } } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Completed", th) ; } } // if we timed out the increase the resend period otherwise make sure it is reset to the // initial resend period updateResendPeriod(timedOut); initiateTimer() ; }
/** * Send the completed message. * * @param timedOut true if this is in response to a comms timeout */ private void sendCompleted(boolean timedOut) { final MAP map = createContext() ; try { // if we are trying to reestablish the participant state then send getStatus otherwise send completed if (timedOut && checkStatus) { ParticipantCompletionCoordinatorClient.getClient().sendGetStatus(coordinator, map, instanceIdentifier); ; } else { ParticipantCompletionCoordinatorClient.getClient().sendCompleted(coordinator, map, instanceIdentifier) ; } } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Completed", th) ; } } // if we timed out the increase the resend period otherwise make sure it is reset to the // initial resend period updateResendPeriod(timedOut); initiateTimer() ; }