EngineConnection encapsulates the information related to a connection between two Apama messaging components.
More...
EngineConnection encapsulates the information related to a connection between two Apama messaging components.
◆ EngineConnection() [1/2]
Apama.Engine.EngineConnection.EngineConnection |
( |
string |
host, |
|
|
int |
port, |
|
|
string [] |
channels |
|
) |
| |
A constructor for EngineConnection objects.
- Parameters
-
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. |
◆ EngineConnection() [2/2]
Apama.Engine.EngineConnection.EngineConnection |
( |
string |
host, |
|
|
int |
port, |
|
|
bool |
disconnectSlow, |
|
|
EngineManagement.ConnectMode |
connectMode, |
|
|
string [] |
channels |
|
) |
| |
A constructor for EngineConnection objects.
- Parameters
-
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. |
◆ ToString()
override string Apama.Engine.EngineConnection.ToString |
( |
| ) |
|
A string representation for diagnostics; may change in a future release.
◆ 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
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