Apama API Reference for .NET  10.0.0.2
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Event.DisconnectableEventConsumer Class Reference

This class extends EventConsumer and as such can connect to the Engine through an EventSupplier and register to receive events. In addition, DisconnectableEventConsumer can also disconnect from the Engine using the Disconnect method. More...

Inherits Apama.Event.EventConsumer.

Public Member Functions

virtual void Disconnect ([MarshalAs(UnmanagedType.LPWStr)]string reason)
 Disconnect the event consumer from its underlying event supplier. More...
 
override void Dispose ()
 Must be called to free unmanaged resources associated with this object. More...
 
- Public Member Functions inherited from Apama.Event.EventConsumer
virtual void SendEvents (Event[] events)
 This method must be defined in inherited classes to enable receiving of events. This method is called by an EventSupplier. More...
 
override string ToString ()
 Returns a string that represents the object. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Virtual helper method to implement Dispose() More...
 

Detailed Description

This class extends EventConsumer and as such can connect to the Engine through an EventSupplier and register to receive events. In addition, DisconnectableEventConsumer can also disconnect from the Engine using the Disconnect method.

Member Function Documentation

virtual void Apama.Event.DisconnectableEventConsumer.Disconnect ( [MarshalAs(UnmanagedType.LPWStr)] string  reason)
virtual

Disconnect the event consumer from its underlying event supplier.

override void Apama.Event.DisconnectableEventConsumer.Dispose ( )
virtual

Must be called to free unmanaged resources associated with this object.

Reimplemented from Apama.Event.EventConsumer.

override void Apama.Event.DisconnectableEventConsumer.Dispose ( bool  disposing)
protectedvirtual

Virtual helper method to implement Dispose()

Parameters
disposingThis parameter is intended for internal compatibility and its input value makes no semantic difference.

Reimplemented from Apama.Event.EventConsumer.

Submit a bug or feature
Copyright (c) 2013-2017 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.