public class EngineConnection
extends java.lang.Object
Constructor and Description |
---|
EngineConnection(java.lang.String host,
int port,
boolean disconnectSlow,
ConnectMode connectMode,
java.lang.String... channels) |
EngineConnection(java.lang.String host,
int port,
java.lang.String... channels) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getChannels()
Get the channels associated with this connection.
|
ConnectMode |
getConnectMode()
Get the connection mode associated with this connection.
|
boolean |
getDisconnectSlow()
Get the value of disconnectSlow flag associated with this connection.
|
java.lang.String |
getHost()
Get the host associated with this connection.
|
int |
getPort()
Get the port associated with this connection.
|
java.lang.String |
toString()
A string representation for diagnostics; may change in a future release.
|
public EngineConnection(java.lang.String host, int port, java.lang.String... channels)
host
- The remote host to connect toport
- The remote port to connect tochannels
- 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.public EngineConnection(java.lang.String host, int port, boolean disconnectSlow, ConnectMode connectMode, java.lang.String... channels)
host
- The remote host to connect toport
- The remote port to connect todisconnectSlow
- Whether we should be disconnected if we don't keep up.connectMode
- The connection mode to use. Set to LEGACY
for single connection, all events delivered to the default
channel. Set to 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.public java.lang.String[] getChannels()
public java.lang.String getHost()
public int getPort()
public ConnectMode getConnectMode()
public boolean getDisconnectSlow()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
Submit a bug or feature
Copyright (c) 2013-2020 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.