<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>Soprano: Soprano::Client Namespace Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Soprano  <span id="projectnumber">2.9.4</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="namespaces.html"><span>Namespace List</span></a></li> <li><a href="namespacemembers.html"><span>Namespace Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceSoprano.html">Soprano</a></li><li class="navelem"><a class="el" href="namespaceSoprano_1_1Client.html">Client</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> </div> <div class="headertitle"> <div class="title">Soprano::Client Namespace Reference</div> </div> </div><!--header--> <div class="contents"> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1TcpClient.html">TcpClient</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Creates a connection to the Soprano server through a TCP connection. <a href="classSoprano_1_1Client_1_1TcpClient.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1LocalSocketClient.html">LocalSocketClient</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Creates a connection to the Soprano server through a local socket interface. <a href="classSoprano_1_1Client_1_1LocalSocketClient.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1DBusModel.html">DBusModel</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Interface to a DBus server model. <a href="classSoprano_1_1Client_1_1DBusModel.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1DBusClient.html">DBusClient</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Core class to handle a connection to a <a class="el" href="namespaceSoprano.html">Soprano</a> server through the DBus interface. <a href="classSoprano_1_1Client_1_1DBusClient.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1DBusStatementIterator.html">DBusStatementIterator</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Interface to a DBus server statement iterator. <a href="classSoprano_1_1Client_1_1DBusStatementIterator.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1DBusNodeIterator.html">DBusNodeIterator</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Interface to a DBus server node iterator. <a href="classSoprano_1_1Client_1_1DBusNodeIterator.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1DBusQueryResultIterator.html">DBusQueryResultIterator</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Interface to a DBus server query result iterator. <a href="classSoprano_1_1Client_1_1DBusQueryResultIterator.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSoprano_1_1Client_1_1SparqlModel.html">SparqlModel</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Remote client <a class="el" href="classSoprano_1_1Model.html" title="A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.">Model</a> for Http SPARQL end points. <a href="classSoprano_1_1Client_1_1SparqlModel.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>The <a class="el" href="namespaceSoprano_1_1Client.html">Client</a> module provides classes to connect to remote RDF sources, most important the Soprano <a class="el" href="namespaceSoprano_1_1Server.html">Server</a> which can be connected via DBus, a local socket, or TCP (see below). Apart from the Soprano Server, arbitrary SPARQL Http services can be connected via <a class="el" href="classSoprano_1_1Client_1_1SparqlModel.html" title="Remote client Model for Http SPARQL end points.">SparqlModel</a>.</p> <h1><a class="anchor" id="soprano_server_client_details"></a> Overview of the Soprano Server clients</h1> <p>The Soprano <a class="el" href="namespaceSoprano_1_1Server.html">Server</a> clients have the following restrictions:</p> <p><b>TCP Client:</b> (<a class="el" href="classSoprano_1_1Client_1_1TcpClient.html" title="Creates a connection to the Soprano server through a TCP connection.">TcpClient</a>) </p> <ul> <li>No signals are emitted (<a class="el" href="classSoprano_1_1Model.html#a75af3d05854d07b802082e38afea050b">Model::statementsAdded()</a> and <a class="el" href="classSoprano_1_1Model.html#ada3d38b1cb9edef8d76aebcb7314de4e">Model::statementsRemoved()</a>) </li> <li>No permission handling, i.e. each process running on the machine can access a running Soprano server, indifferent of the user id of the server process.</li> </ul> <p><b>Local Socket Client:</b> (<a class="el" href="classSoprano_1_1Client_1_1LocalSocketClient.html" title="Creates a connection to the Soprano server through a local socket interface.">LocalSocketClient</a>) </p> <ul> <li>No signals are emitted (<a class="el" href="classSoprano_1_1Model.html#a75af3d05854d07b802082e38afea050b">Model::statementsAdded()</a> and <a class="el" href="classSoprano_1_1Model.html#ada3d38b1cb9edef8d76aebcb7314de4e">Model::statementsRemoved()</a>)</li> </ul> <p><b>DBus Client:</b> (<a class="el" href="classSoprano_1_1Client_1_1DBusClient.html" title="Core class to handle a connection to a Soprano server through the DBus interface.">DBusClient</a>) </p> <ul> <li>No restrictions</li> </ul> <p>While the local socket comunication is the fastest due to its missing signal handling it can be sub-optimal at times. The best solution at the moment is the DBus client. Although being the slowest (slightly slower than the local Socket client) it is reliable and feature-complete (signals are transmitted). However, it is also possible to combine both: use the local socket communication for fast commands and create a D-Bus connection only for the signals.</p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="namespaceSoprano_1_1Server.html">Soprano::Server</a>, <a class="el" href="soprano_server_dbus.html">Soprano D-Bus Interface</a> </dd></dl> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>