AmiAsyncMethod Class

Class

Declaration

class AmiAsyncMethod : public AmiMethod Class

Purpose

The AmiAsyncMethod class extends the AmiMethod class to implement asynchronous methods.

Member Summary

 

Member

Description

Page

AmiAsyncMethod()

Constructor.

AmiAsyncMethod()

AmiAsyncMethod::onStart()

Optional virtual method to initiate data flow.

AmiAsyncMethod::onStart()

AmiAsyncMethod::onStop()

Optional virtual method to halt data flow.

AmiAsyncMethod::onStop()

AmiAsyncMethod::onData()

Sends data asynchronously when an event occurs.

AmiAsyncMethod::onData()

AmiAsyncMethod::sendData()

Sends data asynchronously from an asynchronous AMI method.

AmiAsyncMethod::sendData()

AmiAsyncMethod::sendError()

Reports an error condition for the specified asynchronous method subscription.

AmiSyncMethod Class