/** * Send the read only message. * */ private void sendReadOnly() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendReadOnly(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending ReadOnly", th) ; } } }
/** * Send the aborted message. * */ private void sendAborted() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendAborted(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Aborted", th) ; } } }
/** * Send the committed message. * */ private void sendCommitted() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendCommitted(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Committed", th) ; } } }
/** * Send the aborted message. * */ private void sendAborted() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendAborted(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Aborted", th) ; } } }
/** * Send the aborted message. * */ private void sendAborted() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendAborted(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Aborted", th) ; } } }
/** * Send the committed message. * */ private void sendCommitted() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendCommitted(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Committed", th) ; } } }
/** * Send the read only message. * */ private void sendReadOnly() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendReadOnly(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending ReadOnly", th) ; } } }
/** * Send the read only message. * */ private void sendReadOnly() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendReadOnly(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending ReadOnly", th) ; } } }
/** * Send the committed message. * */ private void sendCommitted() { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendCommitted(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Committed", th) ; } } }
/** * Send the prepared message. * * @param timedOut true if this is in response to a comms timeout */ private void sendPrepared(boolean timedOut) { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendPrepared(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Prepared", th) ; } } updateResendPeriod(timedOut); initiateTimer() ; }
/** * Send the prepared message. * * @param timedOut true if this is in response to a comms timeout */ private void sendPrepared(boolean timedOut) { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendPrepared(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Prepared", th) ; } } updateResendPeriod(timedOut); initiateTimer() ; }
/** * Send the prepared message. * * @param timedOut true if this is in response to a comms timeout */ private void sendPrepared(boolean timedOut) { final MAP responseAddressingContext = createContext() ; final InstanceIdentifier instanceIdentifier = new InstanceIdentifier(id) ; try { CoordinatorClient.getClient().sendPrepared(coordinator, responseAddressingContext, instanceIdentifier) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Prepared", th) ; } } updateResendPeriod(timedOut); initiateTimer() ; }