public interface TcpProxyServiceMBean extends ConnectionManagerMBean
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the TcpProxyService (TCP/JMS connector), creates the socket and starts listeners.
|
void |
closeAllConnections()
Closes all active connections.
|
void |
deactivate()
Deactivates the TcpProxyService (TCP/JMS connector), stops all listeners.
|
int |
getFailedLoginCount()
Gets the number of failed login.
|
int |
getInitiatedConnectionCount()
Gets the number of connections initiated since boot time.
|
int |
getListenPort()
Gets the listen port of the server.
|
int |
getProtocolErrorCount()
Gets the number of connections rejected due to a wrong protocol header.
|
int |
getRunningConnectionsCount()
Gets the number of active connections.
|
String |
getServerAddress()
Gets the socket address of the server.
|
int |
getTcpListenersPoolSize()
Gets the number of threads listening for incoming tcp connections.
|
boolean |
isActivated()
Returns true if the TcpProxyService (TCP/JMS connector) is started.
|
getMBeanName, getVersion
int getListenPort()
String getServerAddress()
int getTcpListenersPoolSize()
boolean isActivated()
isActivated
in interface ConnectionManagerMBean
int getInitiatedConnectionCount()
getInitiatedConnectionCount
in interface ConnectionManagerMBean
int getRunningConnectionsCount()
getRunningConnectionsCount
in interface ConnectionManagerMBean
int getFailedLoginCount()
getFailedLoginCount
in interface ConnectionManagerMBean
int getProtocolErrorCount()
void activate()
activate
in interface ConnectionManagerMBean
void closeAllConnections()
closeAllConnections
in interface ConnectionManagerMBean
void deactivate()
deactivate
in interface ConnectionManagerMBean
Copyright © 2022 ScalAgent D.T.. All rights reserved.