|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.StandardMBean net.sf.cindy.session.jmx.JmxSessionAcceptor
public class JmxSessionAcceptor
SessionAcceptor
which support jmx.
Constructor Summary | |
---|---|
JmxSessionAcceptor(SessionAcceptor acceptor)
|
Method Summary | |
---|---|
void |
close()
|
int |
getAcceptedCount()
|
int |
getBacklog()
|
java.net.SocketAddress |
getListenAddress()
|
int |
getListenPort()
|
java.lang.String |
getSessionType()
|
boolean |
isReuseAddress()
|
boolean |
isStarted()
|
void |
setBacklog(int backlog)
|
void |
setListenAddress(java.net.SocketAddress address)
|
void |
setListenPort(int port)
|
void |
setReuseAddress(boolean b)
|
void |
start()
|
Methods inherited from class javax.management.StandardMBean |
---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxSessionAcceptor(SessionAcceptor acceptor) throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
Method Detail |
---|
public java.lang.String getSessionType()
getSessionType
in interface SessionAcceptorMBean
public void close()
close
in interface SessionAcceptorMBean
public java.net.SocketAddress getListenAddress()
getListenAddress
in interface SessionAcceptorMBean
public int getListenPort()
getListenPort
in interface SessionAcceptorMBean
public boolean isStarted()
isStarted
in interface SessionAcceptorMBean
public void setListenAddress(java.net.SocketAddress address)
setListenAddress
in interface SessionAcceptorMBean
public void setListenPort(int port)
setListenPort
in interface SessionAcceptorMBean
public void start() throws java.io.IOException
start
in interface SessionAcceptorMBean
java.io.IOException
public int getBacklog()
getBacklog
in interface SessionAcceptorMBean
public boolean isReuseAddress()
isReuseAddress
in interface SessionAcceptorMBean
public void setBacklog(int backlog)
setBacklog
in interface SessionAcceptorMBean
public void setReuseAddress(boolean b)
setReuseAddress
in interface SessionAcceptorMBean
public int getAcceptedCount()
getAcceptedCount
in interface SessionAcceptorMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |