tibrv_SetRVParameters()

Function

Declaration

tibrv_status tibrv_SetRVParameters(
    tibrv_u32       argc,
    const char**    argv );

Purpose

Set TIBCO Rendezvous daemon command line parameters for IPM.

Remarks

The TIBCO Rendezvous daemon process (rvd) accepts several command line parameters. When IPM serves the role of the daemon, this function lets you supply those parameters from within the application program.

This call is optional. When this call is present, it must precede the call to tibrv_Open(). For interaction semantics, see Parameter Configuration—Precedence and Interaction in TIBCO Rendezvous Concepts.

This call is available only with IPM. When IPM is not available, this call fails with error status.

Parameter

Description

argc

Supply the number of strings in the argument vector.

argv

Supply an array of null-terminated strings. Each string is either a command line parameter name (for example, -logfile) or its value.

For details about parameters, see rvd in TIBCO Rendezvous Administration

IPM: Configuring Parameters In Program Code

const char* rvParams[] = {"-reliability", "3",
                          "-reuse-port", "30000"};
  tibrv_SetRVParameters(sizeof(rvParams)/sizeof(char*), rvParams);   tibrv_Open();

See Also

Configuring IPM in TIBCO Rendezvous Concepts