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

IResponseWrapper is an interface that specifies the public API for objects returned by the various request-response methods of the Event Service. More...

Inherits IDisposable.

Public Member Functions

void ReleaseLock ()
 Release any threads that are blocked due to having called waitOnLock(); equivalent to calling Dispose(). More...
 

Properties

Apama.Event.Event Event [get]
 Get the wrapped Event. More...
 

Detailed Description

IResponseWrapper is an interface that specifies the public API for objects returned by the various request-response methods of the Event Service.

IMPORTANT Iff acknowledgement sequencing is being used in the EventService, then the client MUST ALWAYS ensure that releaseLock() is called on the IResponseWrapper object returned from a requestResponse() call.

All of this assumes that there is a single receiver thread and possibly multiple client threads.

Member Function Documentation

void Apama.Services.Event.IResponseWrapper.ReleaseLock ( )

Release any threads that are blocked due to having called waitOnLock(); equivalent to calling Dispose().

This method or Dispose must be called by the client thread after it has retrieved the wrapped response event.

Property Documentation

Apama.Event.Event Apama.Services.Event.IResponseWrapper.Event
get

Get the wrapped Event.

Returns
the wrapped 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.