public boolean save_state (OutputObjectState os, int t) { boolean result = super.save_state(os, t); if (result) { try { os.packString(_resourceHandle.getClass().getName()); // TODO: a shorter value whould be more efficient. result = _resourceHandle.save_state(os); if (result) os.packLong(_timeout); /* * TODO: pack qualifiers and coord id. */ } catch (Exception ex) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_14(ex); result = false; } } return result; }
public boolean save_state (OutputObjectState os, int t) { boolean result = super.save_state(os, t); if (result) { try { os.packString(_resourceHandle.getClass().getName()); // TODO: a shorter value whould be more efficient. result = _resourceHandle.save_state(os); if (result) os.packLong(_timeout); /* * TODO: pack qualifiers and coord id. */ } catch (Exception ex) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_14(ex); result = false; } } return result; }