Apama API Reference for .NET
10.3.1.5
|
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... | |
EngineConnection encapsulates the information related to a connection between two Apama messaging components.
Apama.Engine.EngineConnection.EngineConnection | ( | string | host, |
int | port, | ||
string[] | channels | ||
) |
A constructor for EngineConnection objects.
host | The remote host to connect to |
port | The remote port to connect to |
channels | The 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. |
Apama.Engine.EngineConnection.EngineConnection | ( | string | host, |
int | port, | ||
bool | disconnectSlow, | ||
EngineManagement.ConnectMode | connectMode, | ||
string[] | channels | ||
) |
A constructor for EngineConnection objects.
host | The remote host to connect to |
port | The remote port to connect to |
disconnectSlow | Whether we should be disconnected if we don't keep up. |
connectMode | The 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. |
channels | The 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. |
override string Apama.Engine.EngineConnection.ToString | ( | ) |
A string representation for diagnostics; may change in a future release.
|
get |
The channels associated with this connection.
The list of channels that the downstream component should listen to.
|
get |
The connection mode associated with this connection
The connection mode for the upstream (even-sending) component
|
get |
Get the value of disconnectSlow flag associated with this connection
True if we should be disconnected if this connection is slow
|
get |
The host associated with this connection.
The host of the upstream (even-sending) component
|
get |
The port associated with this connection.
The port of the upstream (even-sending) component