function AbstractView(browserView,model,controller){
this._browserView = browserView;
this._model = model;
this._controller = controller;
this._model.addListener(this);
}
AbstractView.prototype.reset = function(snapShotObj){
this._snapShotObj = snapShotObj;
this._snapShotObj.reset();
}
AbstractView.prototype.update = function(updateObj){
this._browserView.update(updateObj);
}
AbstractView.prototype.send = function(snapShotObj){
this._snapShotObj = snapShotObj;
this._controller.send(this._snapShotObj)
}