<!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"/> <title>Soprano: Soprano::Client Namespace Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <script type="text/javascript"> function hasClass(ele,cls) { return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); } function addClass(ele,cls) { if (!this.hasClass(ele,cls)) ele.className += " "+cls; } function removeClass(ele,cls) { if (hasClass(ele,cls)) { var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); ele.className=ele.className.replace(reg,' '); } } function toggleVisibility(linkObj) { var base = linkObj.getAttribute('id'); var summary = document.getElementById(base + '-summary'); var content = document.getElementById(base + '-content'); var trigger = document.getElementById(base + '-trigger'); if ( hasClass(linkObj,'closed') ) { summary.style.display = 'none'; content.style.display = 'block'; trigger.src = 'open.png'; removeClass(linkObj,'closed'); addClass(linkObj,'opened'); } else if ( hasClass(linkObj,'opened') ) { summary.style.display = 'block'; content.style.display = 'none'; trigger.src = 'closed.png'; removeClass(linkObj,'opened'); addClass(linkObj,'closed'); } return false; } </script> <div class="navigation" id="top"> <div 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 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 class="navpath"> <ul> <li><a class="el" href="namespaceSoprano.html">Soprano</a> </li> <li><a class="el" href="namespaceSoprano_1_1Client.html">Client</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> </div> <div class="headertitle"> <h1>Soprano::Client Namespace Reference</h1> </div> </div> <div class="contents"> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><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><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><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><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><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><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><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><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><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><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><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><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><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><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><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><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> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <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> <h2><a class="anchor" id="soprano_server_client_details"></a> Overview of the Soprano Server clients</h2> <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="see"><dt><b>See also:</b></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> <hr class="footer"/><address class="footer"><small>Generated on Thu Oct 21 2010 for Soprano by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>