org.objectweb.joram.mom.proxies.tcp
Interface TcpProxyServiceMBean

All Superinterfaces:
ConnectionManagerMBean
All Known Implementing Classes:
SSLTcpProxyService, TcpProxyService

public interface TcpProxyServiceMBean
extends ConnectionManagerMBean

Adds JMX monitoring for tcp connections.


Method Summary
 int getProtocolErrorCount()
          Gets the number of connections rejected due to a wrong protocol header.
 java.lang.String getServerAddress()
          Gets the socket address of the server.
 int getTcpListenersPoolSize()
          Gets the number of threads listening for incoming tcp connections.
 
Methods inherited from interface org.objectweb.joram.mom.proxies.ConnectionManagerMBean
activate, closeAllConnections, deactivate, getFailedLoginCount, getInitiatedConnectionCount, getMBeanName, getRunningConnectionsCount, isActivated
 

Method Detail

getServerAddress

java.lang.String getServerAddress()
Gets the socket address of the server.

Returns:
the server socket address.

getTcpListenersPoolSize

int getTcpListenersPoolSize()
Gets the number of threads listening for incoming tcp connections.

Returns:
the tcp listeners pool size.

getProtocolErrorCount

int getProtocolErrorCount()
Gets the number of connections rejected due to a wrong protocol header.

Returns:
the number of connections rejected due to a wrong protocol header.


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.