Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisDBEngineSetAcceptConn

int ctMemphisDBEngineSetAcceptConn( pRCESJson request, ppRCESJson result )

Description:

Set if the DBEngine accepts or not external connections.

HTTP URL: <baseURL>/ctMemphisDBEngineSetAcceptConn/

HTTP Verb: POST

Constraints:

  • If it is a "targetDBEngine" for a Replication Plan, it must accept external connections. The only exception for this constraint is in case both source and target are on the same machine.
  • If it is a "sourceDBEngine" for a Replication Plan, it must accept external connections or the Replication Plan can't be "isPulling" true; it must PUSH the changes to the target.

    The only exception for this constraint is in case both source and target are on the same machine.

Parameters:

  • request [IN] - Set DBEngine accept external connection status request in JSON format. For example:

{

"id": 2,

"acceptConn": true

}

  • result [OUT] - Result in JSON format. For example:

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex