public final class TPConfig
extends java.lang.Object
TPConfig
A singleton class to manage configuration of TucsonProtocol
Modifier and Type | Method and Description |
---|---|
int |
getDefaultProtocolType()
Return the default Protocol type
|
static int |
getDefaultTcpPort()
Return the default TCP port number
|
static TPConfig |
getInstance()
Return singleton instance of TPConfig
|
int |
getNodeTcpPort()
Return the TCP port number
|
void |
setTcpPort(int portNumber)
TODO CICORA: Set the TCP port: only one set is permitted, the second one
will be ignored
|
public static int getDefaultTcpPort()
public static TPConfig getInstance()
public int getDefaultProtocolType()
public int getNodeTcpPort()
public void setTcpPort(int portNumber)
portNumber
- the TCP listening port