public class ServerCfg extends Object
ConnectionFactory,
AConnection| Modifier and Type | Field and Description |
|---|---|
String |
connectionName
Connection Name only for logging purposes.
|
ConnectionFactory |
factory
ConnectionFactory that will create AConection
objectrepresenting new socket connection. |
String |
hostName
Host Name on wich we will listen for connections.
|
int |
port
Port number on wich we will listen for connections.
|
| Constructor and Description |
|---|
ServerCfg(String hostName,
int port,
String connectionName,
ConnectionFactory factory)
Constructor
|
public final String hostName
public final int port
public final String connectionName
public final ConnectionFactory factory
ConnectionFactory that will create AConection
objectConnectionFactory,
AConnectionpublic ServerCfg(String hostName, int port, String connectionName, ConnectionFactory factory)
hostName - - Host Name on witch we will listen for connections.port - - Port number on witch we will listen for connections.connectionName - - only for logging purposes.factory - ConnectionFactory that will create
AConection objectCopyright © 2014–2015. All rights reserved.