public class SSLTcpProxyService extends TcpProxyService
Modifier and Type | Field and Description |
---|---|
private static String |
CIPHER |
private static String |
KS |
private static String |
KS_PASS |
private static String |
KS_TYPE |
static org.objectweb.util.monolog.api.Logger |
logger
logger
|
private static String |
MBEAN_NAME |
private static SSLTcpProxyService |
proxyService
The proxy service reference (used to stop it).
|
private static String |
SSLCONTEXT |
address, backlog, BACKLOG_PROP, cnxWithNoAckedQueue, DEFAULT_BACKLOG, DEFAULT_BINDADDRESS, DEFAULT_POOL_SIZE, DEFAULT_PORT, DEFAULT_SO_TIMEOUT, executorService, POOL_SIZE_PROP, port, SO_TIMEOUT_PROP
Constructor and Description |
---|
SSLTcpProxyService(int port,
int backlog,
String address) |
Modifier and Type | Method and Description |
---|---|
protected ServerSocket |
createServerSocket(int port,
int backlog,
String address)
Initialize the listening socket.
|
private static ServerSocketFactory |
createServerSocketFactory() |
private static String[] |
getCipherList() |
String |
getMBeanName()
Gets the name of the MBean.
|
static void |
init(String args,
boolean firstTime)
Initializes the SSLTCP entry point by creating a
ssl server socket listening to the specified port.
|
activate, closeAllConnections, createExecutors, deactivate, execute, getConnection, getFailedLoginCount, getInitiatedConnectionCount, getProtocolErrorCount, getRunningConnectionsCount, getServerAddress, getServerSocket, getTcpListenersPoolSize, isActivated, registerConnection, removeExecutors, resetServerSocket, start, stopService, unregisterConnection
public static org.objectweb.util.monolog.api.Logger logger
private static final String CIPHER
private static final String KS
private static final String KS_PASS
private static final String KS_TYPE
private static final String SSLCONTEXT
private static final String MBEAN_NAME
private static SSLTcpProxyService proxyService
public static void init(String args, boolean firstTime) throws Exception
args
- stringified listening portfirstTime
- true
when the agent server starts.Exception
public String getMBeanName()
ConnectionManagerMBean
getMBeanName
in interface ConnectionManagerMBean
getMBeanName
in class TcpProxyService
private static ServerSocketFactory createServerSocketFactory() throws Exception
Exception
protected ServerSocket createServerSocket(int port, int backlog, String address) throws Exception
TcpProxyService
createServerSocket
in class TcpProxyService
Exception
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.