/** * Restore the state of the particpant from the specified input object stream. * * @param ios The Input object stream. * @return true if restored, false otherwise. * */ public boolean restoreState(InputObjectState ios) { try { id = ios.unpackString(); restoreEndpointReference(ios); recoveryStateValid = ios.unpackBoolean(); if (recoveryStateValid) { useSerialization = ios.unpackBoolean(); if (ios.unpackBoolean()) { recoveryState = ios.unpackBytes(); } else { recoveryState = null; } } } catch (XMLStreamException xmle) { WSTLogger.i18NLogger.warn_recovery_participant_at_ATParticipantRecoveryRecord_restoreState_1(id, xmle); return false; } catch (IOException ioe) { WSTLogger.i18NLogger.warn_recovery_participant_at_ATParticipantRecoveryRecord_restoreState_2(id, ioe); return false; } return true; }
/** * Restore the state of the particpant from the specified input object stream. * * @param ios The Input object stream. * @return true if restored, false otherwise. * */ public boolean restoreState(InputObjectState ios) { try { id = ios.unpackString(); restoreEndpointReference(ios); recoveryStateValid = ios.unpackBoolean(); if (recoveryStateValid) { useSerialization = ios.unpackBoolean(); if (ios.unpackBoolean()) { recoveryState = ios.unpackBytes(); } else { recoveryState = null; } } } catch (XMLStreamException xmle) { WSTLogger.i18NLogger.warn_recovery_participant_at_ATParticipantRecoveryRecord_restoreState_1(id, xmle); return false; } catch (IOException ioe) { WSTLogger.i18NLogger.warn_recovery_participant_at_ATParticipantRecoveryRecord_restoreState_2(id, ioe); return false; } return true; }
/** * Restore the state of the particpant from the specified input object stream. * * @param ios The Input object stream. * @return true if restored, false otherwise. * */ public boolean restoreState(InputObjectState ios) { try { id = ios.unpackString(); restoreEndpointReference(ios); recoveryStateValid = ios.unpackBoolean(); if (recoveryStateValid) { useSerialization = ios.unpackBoolean(); if (ios.unpackBoolean()) { recoveryState = ios.unpackBytes(); } else { recoveryState = null; } } } catch (XMLStreamException xmle) { WSTLogger.i18NLogger.warn_recovery_participant_at_ATParticipantRecoveryRecord_restoreState_1(id, xmle); return false; } catch (IOException ioe) { WSTLogger.i18NLogger.warn_recovery_participant_at_ATParticipantRecoveryRecord_restoreState_2(id, ioe); return false; } return true; }