Go to the documentation of this file.
22 #ifndef _SOPRANO_SERVER_CORE_H_
23 #define _SOPRANO_SERVER_CORE_H_
25 #include <QtCore/QObject>
38 class ServerCorePrivate;
201 bool listen( quint16 port = DEFAULT_PORT );
235 void serverConnectionFinished(
QObject* obj);
253 ServerCorePrivate*
const d;
virtual Model * model(const QString &name)
virtual Model * createModel(const QList< BackendSetting > &settings)
#define SOPRANO_SERVER_EXPORT
void setMaximumConnectionCount(int max)
static const quint16 DEFAULT_PORT
const Backend * backend() const
Core class of Soprano's exception system.
void setBackendSettings(const QList< BackendSetting > &settings)
quint16 serverPort() const
Central Soprano server class.
QList< BackendSetting > backendSettings() const
bool start(const QString &socketPath=QString())
virtual void removeModel(const QString &name)
ServerCore(QObject *parent=0)
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
SOPRANO_EXPORT QUrl name()
bool listen(quint16 port=DEFAULT_PORT)
Soprano::Backend defines the interface for a Soprano backend plugin.
void registerAsDBusObject(const QString &objectPath=QString())
int maximumConnectionCount() const
virtual QStringList allModels() const
void setBackend(const Backend *backend)