Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Services.Event.IResponseListener Interface Reference

IResponseListener specifies the interface that classes must implement to receive the response part of an asynchronous request-response call. More...

Public Member Functions

void HandleException (Exception exception)
 Callback method that is called when an exception is thrown within an asynchronous request-response call made on an EventServiceChannel. More...
 
void HandleResponse (Apama.Event.Event requestEvent, Apama.Event.Event responseEvent)
 Callback method that is called when a matching response Event is received for an asynchronous request-response call made on an EventServiceChannel. More...
 

Detailed Description

IResponseListener specifies the interface that classes must implement to receive the response part of an asynchronous request-response call.

IResponseListener is an interface that forms part of the service style high-level public interface to the Correlator with a focus on only dealing with Events and consumer channels.

Member Function Documentation

void Apama.Services.Event.IResponseListener.HandleException ( Exception  exception)

Callback method that is called when an exception is thrown within an asynchronous request-response call made on an EventServiceChannel.

Parameters
exceptionThe exception that was thrown in the asynchronous call.
void Apama.Services.Event.IResponseListener.HandleResponse ( Apama.Event.Event  requestEvent,
Apama.Event.Event  responseEvent 
)

Callback method that is called when a matching response Event is received for an asynchronous request-response call made on an EventServiceChannel.

Parameters
requestEventthe original request Event.
responseEventthe corresponding response Event.
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.