packages/ddp-server/livedata_server.js
function (collectionName, sessionCallbacks) {
  var self = this;
  self.collectionName = collectionName;
  self.documents = {};
  self.callbacks = sessionCallbacks;
}
function (collectionName, sessionCallbacks) {
  var self = this;
  self.collectionName = collectionName;
  self.documents = {};
  self.callbacks = sessionCallbacks;
}
function ( collectionName , sessionCallbacks ) { var self = this ; self . collectionName = collectionName ; self . documents = { } ; self . callbacks = sessionCallbacks ; }
Represents a client's view of a single collection
@param {String} collectionName Name of the collection it represents
@param {Object.<String, Function>} sessionCallbacks The callbacks for added, changed, removed
@class SessionCollectionView
Represents a client s view of a single collection