Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 4 AMI API : AMI Property Class : AmiProperty::()

AmiProperty::()
Method
Declaration
AmiProperty::AmiProperty(
    const char * name,
    void * value);
Purpose
Sets the transport properties specified as name value pairs.
The following table provides the supported property names and their default values:
 
Choice of transport. The available options are:
Table 6 Properties List for hawk_transport = tibas
 
Used to detect if an agent has joined and needs to match one specified in hawkagent.cfg file.
tibpgm://(default provided by AS)
TIBCO ActiveSpaces discover parameter.
All internal synchronous communications will use this default timeout in milliseconds.
Internal memory size allocation in bytes.
Internal parameter for even distribution of data in seeders.
Number of threads used by TIBCO ActiveSpaces API.
Unique identification of HMA with given agent.
<hawk_domain>_<agent_name>_<agent_domain>_0
Unique session id per microagent session. This is useful when a single process creates multiple ami sessions. The integer number at the end starts from 0 and keeps increasing for multiple ami sessions.
Table 7 Properties List for hawk_transport = tibrv
 
TIBCO Rendezvous service property.
TIBCO Rendezvous network property.
TIBCO Rendezvous daemon property.
TIBCO Rendezvous queue for AMI session.
Internal-rv-transports
TIBCO Rendezvous transport for AMI session.
 
When Hawk_transport = tibrv and you need to use your own rv_queue and rv_transport, perform the following steps:
Explicitly call tibrv_open() method before providing a user queue (rv_queue).
Explicitly call tibrv_close() method before application exit.
Refer to TIBCO Rendezvous® documentation for more information.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved