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


Chapter 4 AMI API : AMI C API Session Functions : ami_SessionCreate()

ami_SessionCreate()
Function
Declaration
ami_Error ami_SessionCreate(
ami_Session * inpAmiSession,
ami_TraceCode inTraceLevel,
const char * inpRvService,
const char * inpRvNetwork,
const char * inpRvDaemon,
unsigned int inRvTransport,
unsigned int inRvQueue,
const char * inpName,
const char * inpDisplayName,
const char * inpHelp,
ami_TraceHandler inTraceHandler,
const void * inpUserData );
Purpose
Creates a new AMI session. Each session represents a single TIBCO Hawk microagent.
Parameters
 
TIBCO Rendezvous service parameter.
TIBCO Rendezvous network parameter.
TIBCO Rendezvous daemon parameter.
TIBCO Rendezvous transport for AMI session.
TIBCO Rendezvous queue for AMI session.
 
If the transport being used is tibrv , you need to 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