internal ResendTransaction BeginTransaction() { if (currentTrx != null) { throw new NotSupportedException("Only one open transaction supported"); } currentTrx = new ResendTransaction(); return(currentTrx); }
internal void CommitTransaction() { if (currentTrx.SendIndicatorStreamPositions != null && currentTrx.SendIndicatorStreamPositions.Count > 0) { // commit succesfully > mark all transaction send flags as sent currentTrx.FlagTransactionMethodsSuccess(); } currentTrx.Dispose(); currentTrx = null; }
internal void CommitOnlineTransaction() { currentTrx.CommitOnlineTransaction(); currentTrx = null; }