ami_AddProperty()

Function

Declaration

ami_Error ami_AddProperty(
   const char *    inpName,
   void *          inpValue, 
   ami_Property **  inpProperties ); 

Purpose

Creates a linked list defined as ami_Property and adds transport properties to it. The ami_AddProperty() API allocates memory and creates a linked list for every parameter added.

Create property list using the ami_AddProperty() API and pass it to ami_SessionCreateUsingProperties() API.

Parameters

 

Parameter

Description

inpName

Name of the parameter.

inpValue

Value of the parameter.

ami_Property

Reference to the property.

The following table provides the supported property names and their default values:

 

Property Name

Mandatory

Default

Description

hawk_domain

No

Default

The hawk domain.

hawk_transport

No

tibas

Choice of transport. The available options are:

tibrv

Properties List for hawk_transport = tibrv

 

Property Name

Mandatory

Default

Description

rv_service

No

7474

TIBCO Rendezvous service property.

rv_network

No

;

TIBCO Rendezvous network property.

rv_daemon

No

tcp:7474

TIBCO Rendezvous daemon property.

rv_queue

No

Internal-queue

TIBCO Rendezvous queue for AMI session.

rv_transport

No

Internal-rv-transports

TIBCO Rendezvous transport for AMI session.