public class EngineConnection
extends java.lang.Object
Constructor and Description |
---|
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.
|
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 java.lang.String[] getChannels()
public java.lang.String getHost()
public int getPort()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
Submit a bug or feature
Copyright (c) 2013-2016 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.