Configuring Acceptors

 

Author: Eike Stepper

The acceptors of a CDO Server are configured in the cdo-server.xml file. Here's an example:

cdo‑server.xml      
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>

  
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036"/>

  
<!-- other acceptors and repositories -->

</cdoServer>

The following sections describe the various elements and properties.

Table of Contents

Element acceptor
Element negotiator

1  Element acceptor

Defines an IAcceptor instance. Please refer to the Net4j Signalling Platform documentation for details about acceptors and connectors.

The type attribute corresponds to the type of an acceptor factory that is contributed via the org.eclipse.net4j.util.factories extension point with a product group of org.eclipse.net4j.acceptors.

The remaining attributes depend on the specified type attribute value. The following values are possible with the shipped distribution (subject to user-supplied extension):

2  Element negotiator

Defines an INegotiator instance to be used by the enclosing acceptor element. Please refer to the Net4j Signalling Platform documentation for details about negotiators and the pluggable security concept that can be used for authentication and authorization on the transport-level.

The type attribute corresponds to the type of a negotiator factory that is contributed via the org.eclipse.net4j.util.factories extension point with a product group of org.eclipse.net4j.negotiators.

The remaining attributes depend on the specified type attribute value. The following values are possible with the shipped distribution (subject to user-supplied extension):