|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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 SessionAcceptorMBeanpublic void close()
close in interface SessionAcceptorMBeanpublic java.net.SocketAddress getListenAddress()
getListenAddress in interface SessionAcceptorMBeanpublic int getListenPort()
getListenPort in interface SessionAcceptorMBeanpublic boolean isStarted()
isStarted in interface SessionAcceptorMBeanpublic void setListenAddress(java.net.SocketAddress address)
setListenAddress in interface SessionAcceptorMBeanpublic void setListenPort(int port)
setListenPort in interface SessionAcceptorMBean
public void start()
throws java.io.IOException
start in interface SessionAcceptorMBeanjava.io.IOExceptionpublic int getBacklog()
getBacklog in interface SessionAcceptorMBeanpublic boolean isReuseAddress()
isReuseAddress in interface SessionAcceptorMBeanpublic void setBacklog(int backlog)
setBacklog in interface SessionAcceptorMBeanpublic void setReuseAddress(boolean b)
setReuseAddress in interface SessionAcceptorMBeanpublic int getAcceptedCount()
getAcceptedCount in interface SessionAcceptorMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||