Apama API Reference for .NET (DEPRECATED)  10.15.6.4
Apama.Engine.EngineConnection Class Reference

EngineConnection encapsulates the information related to a connection between two Apama messaging components. More...

Public Member Functions

 EngineConnection (string host, int port, string[] channels)
 A constructor for EngineConnection objects. More...
 
 EngineConnection (string host, int port, bool disconnectSlow, EngineManagement.ConnectMode connectMode, string[] channels)
 A constructor for EngineConnection objects. More...
 
override string ToString ()
 A string representation for diagnostics; may change in a future release. More...
 

Properties

virtual ReadOnlyCollection< string > Channels [get]
 The channels associated with this connection. More...
 
virtual EngineManagement.ConnectMode ConnectMode [get]
 The connection mode associated with this connection More...
 
virtual bool DisconnectSlow [get]
 Get the value of disconnectSlow flag associated with this connection More...
 
virtual string Host [get]
 The host associated with this connection. More...
 
virtual int Port [get]
 The port associated with this connection. More...
 

Detailed Description

EngineConnection encapsulates the information related to a connection between two Apama messaging components.

Constructor & Destructor Documentation

◆ EngineConnection() [1/2]

Apama.Engine.EngineConnection.EngineConnection ( string  host,
int  port,
string []  channels 
)

A constructor for EngineConnection objects.

Parameters
hostThe remote host to connect to
portThe remote port to connect to
channelsThe array of channels to connect to. May include the empty String to indicate the default channel. Must be non-null, and contain no null elements.

◆ EngineConnection() [2/2]

Apama.Engine.EngineConnection.EngineConnection ( string  host,
int  port,
bool  disconnectSlow,
EngineManagement.ConnectMode  connectMode,
string []  channels 
)

A constructor for EngineConnection objects.

Parameters
hostThe remote host to connect to
portThe remote port to connect to
disconnectSlowWhether we should be disconnected if we don't keep up.
connectModeThe connection mode to use. Set to CONNECT_LEGACY for single connection, all events delivered to the default channel. Set to CONNECT_PARALLEL for connection per channel and channel values passed through.
channelsThe array of channels to connect to. May include the empty String to indicate the default channel. Must be non-null, and contain no null elements.

Member Function Documentation

◆ ToString()

override string Apama.Engine.EngineConnection.ToString ( )

A string representation for diagnostics; may change in a future release.

Property Documentation

◆ Channels

virtual ReadOnlyCollection<string> Apama.Engine.EngineConnection.Channels
get

The channels associated with this connection.

The list of channels that the downstream component should listen to.

◆ ConnectMode

virtual EngineManagement.ConnectMode Apama.Engine.EngineConnection.ConnectMode
get

The connection mode associated with this connection

The connection mode for the upstream (even-sending) component

◆ DisconnectSlow

virtual bool Apama.Engine.EngineConnection.DisconnectSlow
get

Get the value of disconnectSlow flag associated with this connection

True if we should be disconnected if this connection is slow

◆ Host

virtual string Apama.Engine.EngineConnection.Host
get

The host associated with this connection.

The host of the upstream (even-sending) component

◆ Port

virtual int Apama.Engine.EngineConnection.Port
get

The port associated with this connection.

The port of the upstream (even-sending) component