|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.management.StandardMBean
org.jboss.xnio.nio.NioTcpServer.MBean
public final class NioTcpServer.MBean
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.xnio.management.TcpServerMBean |
|---|
TcpServerMBean.Listener |
| Constructor Summary | |
|---|---|
protected |
NioTcpServer.MBean()
|
| Method Summary | |
|---|---|
void |
bind(java.net.SocketAddress address)
Bind the entity to a socket address. |
void |
bind(java.lang.String hostName,
int port)
Bind the entity to a host and port. |
void |
close()
MBean operation to forcibly close a channel. |
long |
getAcceptedConnections()
Get the total count of accepted connections. |
TcpServerMBean.Listener[] |
getBoundListeners()
Get the currently bound listeners. |
java.lang.String |
toString()
|
void |
unbind(java.net.SocketAddress address)
Unbind the entity from a socket address. |
void |
unbind(java.lang.String hostName,
int port)
Unbind the entity from a host and port. |
| 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, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected NioTcpServer.MBean()
throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic TcpServerMBean.Listener[] getBoundListeners()
TcpServerMBean
getBoundListeners in interface TcpServerMBeanpublic long getAcceptedConnections()
AcceptorStats
getAcceptedConnections in interface AcceptorStats
public void bind(java.net.SocketAddress address)
throws java.io.IOException
InetBindable
bind in interface InetBindableaddress - the address
java.io.IOException - if an error occurs
public void bind(java.lang.String hostName,
int port)
throws java.io.IOException
InetBindable
bind in interface InetBindablehostName - the host nameport - the port number
java.io.IOException - if an error occurs
public void unbind(java.net.SocketAddress address)
throws java.io.IOException
InetBindable
unbind in interface InetBindableaddress - the address
java.io.IOException - if an error occurs
public void unbind(java.lang.String hostName,
int port)
throws java.io.IOException
InetBindable
unbind in interface InetBindablehostName - the host nameport - the port number
java.io.IOException - if an error occurspublic void close()
ManagedCloseable
close in interface ManagedCloseable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||