diffusion
Version:
Diffusion JavaScript client
33 lines (32 loc) • 995 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BranchMappingTableImpl = void 0;
/**
* Implementation of {@link BranchMappingTable}.
*/
var BranchMappingTableImpl = /** @class */ (function () {
/**
* Constructor
*
* @param sessionTreeBranch the branch of the session tree to which this table is bound
* @param branchMappings the branch mappings
*/
function BranchMappingTableImpl(sessionTreeBranch, branchMappings) {
this.sessionTreeBranch = sessionTreeBranch;
this.branchMappings = branchMappings;
}
/**
* @inheritdoc
*/
BranchMappingTableImpl.prototype.getSessionTreeBranch = function () {
return this.sessionTreeBranch;
};
/**
* @inheritdoc
*/
BranchMappingTableImpl.prototype.getBranchMappings = function () {
return this.branchMappings;
};
return BranchMappingTableImpl;
}());
exports.BranchMappingTableImpl = BranchMappingTableImpl;