public override Response Visit()

in src/Commands/TransactionInfo.cs [111:134]


        public override Response Visit(ICommandVisitor visitor)
        {
            switch(type)
            {
                case TransactionInfo.BEGIN:
                    return visitor.ProcessBeginTransaction(this);
                case TransactionInfo.END:
                    return visitor.ProcessEndTransaction(this);
                case TransactionInfo.PREPARE:
                    return visitor.ProcessPrepareTransaction(this);
                case TransactionInfo.COMMIT_ONE_PHASE:
                    return visitor.ProcessCommitTransactionOnePhase(this);
                case TransactionInfo.COMMIT_TWO_PHASE:
                    return visitor.ProcessCommitTransactionTwoPhase(this);
                case TransactionInfo.ROLLBACK:
                    return visitor.ProcessRollbackTransaction(this);
                case TransactionInfo.RECOVER:
                    return visitor.ProcessRecoverTransactions(this);
                case TransactionInfo.FORGET:
                    return visitor.ProcessForgetTransaction(this);
                default:
                    throw new IOException("Transaction info type unknown: " + type);
            }
        }