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


Chapter 4 AMI API : AmiSession Class : AmiSession()

AmiSession()
Constructor
Declaration
AmiSession(ami_TraceCode traceLevel,
           const char * service,
           const char * network,
           const char * daemon,
           unsigned int rvTransport,
           unsigned int rvQueue,
           const char * name,
           const char * display,
           const char * help,
           ami_TraceHandler traceHandler,
           const void * userData );
Purpose
This constructor creates an instance of AmiSession. Each instance corresponds to an independent microagent.
Parameters
 
AMI_ALL. Turns on all trace code levels.
AMI_AMI. Indicates AMI level trace message.
AMI_DEBUG. Logging statement are written into the trace file if, and only if, the trace level set in the current ami_Session object has the AMI_DEBUG bit mask turned on.
AMI_ERROR. Logging statement are written into the trace file, regardless of whether the AMI_ERROR bit mask is turned on in the current ami_Session object.
AMI_INFO. Logging statements are written into the trace file if, and only if, the trace level set in the current ami_Session object has the AMI_INFO bit mask turned on.
AMI_STAMP. Adds source file name and line number to all messages.
AMI_WARNING. Logging statement are written into the trace file if, and only if, the trace level set in the current ami_Session object has the AMI_WARNING bit mask turned on.
TIBCO Rendezvous service, network and daemon parameters. For information about setting these parameters, see your TIBCO Rendezvous documentation.
C handle for TIBCO Rendezvous tibrvTransport.
C handle for TIBCO Rendezvous tibrvQueue handle.
 

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