Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 C++ AMI API Reference : AMI Method Classes

AMI Method Classes
The methods define the application interface to the TIBCO Hawk agent. When AmiSession announces itself to the TIBCO Hawk agent, the agent queries for a description of the available methods. AmiSession creates a description of available AMI method objects based on implementations of AmiMethod.
AmiMethod class provides a foundation for classes that describe synchronous, and asynchronous AMI methods.
The AmiAsyncMethod class extends the AmiMethod class to send data whenever it becomes available. This allows the AMI-instrumented application to actively publish data whenever data becomes available.
The AmiSyncMethod class extends the AmiMethod class to return synchronous data. With AmiSyncMethod class, the method returns data only upon request.
The AmiSubcription class encapsulates an asynchronous method subscription.
AmiMethod Class
Class
Declaration
class AmiMethod
Purpose
This class implements methods.
Remarks
Classes derived from AmiMethod can be registered with AmiSession. The AmiSyncMethod class extends the AmiMethod class to implement synchronous methods. The AmiAsyncMethod class extends the AmiMethod class to implement asynchronous methods.
Member Summary
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved