Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 243

db4o-doc-7.4-2.fc13.i686.rpm

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Pluggable Sockets</title>
    <link rel="stylesheet" type="text/css" href="../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>Pluggable Sockets</h1>

<p>db4o allows to customize client-server communication by
using pluggable socket implementations:</p>



<span name="cs_wiki_filter" csw_filters="net"><p>.NET:&nbsp;</p>



<p><code>public static
IObjectServer OpenServer(IConfiguration config, string databaseFileName, int port, INativeSocketFactory
socketFactory)</code></p>

<p><code>public static
IObjectContainer OpenClient(IConfiguration config, string hostName, int port, string user, string
password, INativeSocketFactory socketFactory)</code></p>

</span>

<p>Here NativeSocketFactory
interface should be used to provide client and server sockets, which may
implement any custom way of communication.</p>

<p>An example of such customary
implementation can be <a href="pluggable_sockets/using_ssl_for_client-server_communication.html" class="wikiLink">encrypted communication</a>.</p>

<p>Note, that this API is in the
development stage and is subject to future changes.</p>


</div>
    </div>
    <div id="footer">
					This revision (2) was last Modified 2007-12-23T20:04:14 by Tetyana.
				</div>
  </body>
</html>