Classified ads
|
Pure-virtual interface of datamodel for message parser to use. More...
#include <mmodelprotocolinterface.h>
Public Member Functions | |
virtual void | addNetworkRequest (NetworkRequestExecutor::NetworkRequestQueueItem &aRequest) const =0 |
virtual bool | lock ()=0 |
virtual void | unlock ()=0 |
virtual MNodeModelProtocolInterface & | nodeModel () const =0 |
virtual ProfileModel & | profileModel () const =0 |
virtual BinaryFileModel & | binaryFileModel () const =0 |
virtual ClassifiedAdsModel & | classifiedAdsModel () const =0 |
virtual PrivMessageModel & | privateMessageModel () const =0 |
virtual ContentEncryptionModel & | contentEncryptionModel () const =0 |
virtual ProfileCommentModel & | profileCommentModel () const =0 |
virtual SearchModel * | searchModel () const =0 |
virtual CaDbRecordModel * | caDbRecordModel () const =0 |
virtual TclModel & | tclModel () const =0 |
Pure-virtual interface of datamodel for message parser to use.
This interface is given to incoming-message -parsing part of networking code. Main reason for existence of this interface is testability; in unit-test situation we will have mock-up model behind this interface, in normal situation the normal datamodel.
|
pure virtual |
method for adding a network request
aRequest | is the request to add |
Implemented in Model.
|
pure virtual |
method for getting blob-specific datamodel
Implemented in Model.
|
pure virtual |
method for getting distributed database model part
Implemented in Model.
|
pure virtual |
method for getting the ads datamodel
Implemented in Model.
|
pure virtual |
method for getting the en/de-cryption part of the datamodel
Implemented in Model.
|
pure virtual |
thread sync: this claims access to datamodel
Implemented in Model.
|
pure virtual |
method for getting node-specific datamodel
Implemented in Model.
|
pure virtual |
method for getting the private message datamodel
Implemented in Model.
|
pure virtual |
method for getting the comment datamodel
Implemented in Model.
|
pure virtual |
method for getting profile-specific datamodel
Implemented in Model.
|
pure virtual |
method for getting the full text search datamodel
Implemented in Model.
|
pure virtual |
thread sync: releases data model to other threads
Implemented in Model.