Commit 5bae97c6 authored by afreyssin's avatar afreyssin
Browse files

Adds TCP paramters to JMS TCP service MBean (JORAM-239).

parent 13fd3b40
......@@ -372,8 +372,12 @@ public class TcpProxyService implements TcpProxyServiceMBean {
return connectionListeners.length;
}
public int getListenPort() {
return port;
}
public String getServerAddress() {
return address.toString();
return address;
}
public int getFailedLoginCount() {
......
......@@ -27,7 +27,13 @@ import org.objectweb.joram.mom.proxies.ConnectionManagerMBean;
* Adds JMX monitoring for tcp connections.
*/
public interface TcpProxyServiceMBean extends ConnectionManagerMBean {
/**
* Gets the listen port of the server.
*
* @return the listen port of the server.
*/
public int getListenPort();
/**
* Gets the socket address of the server.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment