FOX Application Configuration

The N2SVCD FOX Application is a protocol gateway application which can perform client requests using the FOX protocol. The FOX protocol is the proprietary protocol used for real-time communication by the Oracle NCC VWS nodes.

The following configuration is used to create a FOX Application instance to act as a protocol gateway to all VWS nodes in an NCC installation.

If you need to connect to more than one NCC installation (e.g. if your site has separate Production and Model SMS nodes), then you must configure multiple FOX Application instances (one for each NCC SMS node).

<?xml version="1.0" encoding="utf-8"?>
    <application name="FOX" module="FoxApp">
        <!-- The db_app_name_smf parameter is NOT USED because client_connections takes priority. -->
        <parameter name="db_app_name_smf" value="DB-PROD-SMF"/>
          <client_connection domain_id="1" local_port="4000" remote_port="1500" remote_host=""/>
          <client_connection domain_id="1" local_port="4001" remote_port="1501" remote_host=""/>

Configuration Details

The application element attributes for a FOX Application instance may include the below.

For details of the various parameter types used, refer to Common Configuration.

Parameter Name Type XML Type Description
See: Common Application configuration
See: TCP Application configuration
module String Attribute [Required] FoxApp
include.lib String Element [Required] ../apps/fox/lib
parameters Array Element [Required] As per Common Configuration Application parameters.
"edr_enabled" - - This value is ignored; the FOX Application does not support writing EDRs.
"socket_mode" - - The FOX Application supports only connect (TCP Client).
(Default = connect)
"remote_host" - - This parameter is ignored in the case when the FOX Application reads configuration from a database.
Refer to Connection to VWS Nodes.
"remote_port" - - This parameter is ignored in the case when the FOX Application reads configuration from a database.
Refer to Connection to VWS Nodes.
"db_app_name_smf" String Attribute Name for DBApp instance to query for the VWS (BE) Domain Node configuration.
This DBApp instance must be connected to a database containing the standard NCC domain node definition tables: ccs_domain_nodes, ccs_domain, ccs_domain_type.
Refer to Connection to VWS Nodes.
"client_name" String Attribute The name by which the FOX Client will identify itself when connecting to NCC.
Each client connecting to the NCC BE must use a unique string for this purpose.
(Default = N2FOX-<short-hostname>)

Connection to VWS Nodes

At startup, the FoxApp Application will take its connection configuration from one of the following sources:

OPTION 1: If the config.client_connections block is present (even if empty), then this will be used and other configuration sources are ignored.

In this case, the FoxApp will automatically consider the first client_connection entry to be the primary (with priority = 1), the next connection to be the secondary, and so on.

If the client connections are configured with explicit priority, then all must have a priority defined and all priorities must be unique.

OPTION 2: If the db_app_name_smf parameter is present, then the application will fetch configuration by sending a DB-REQUEST message to the indicated database application, and other configuration sources are ignored.

OPTION 3: If the config.client_connections element and the db_app_name_smf parameter are both absent, then the remote_host and remote_port parameters must be present, and a single FOX connection will be used.

In that final case, the num_client_connections must be the default value of 1.

Message Handling

In addition to the common Application management messages, the FoxApp uses the following messages: