public class ClientConnections extends MBeanRegistrationSupport implements ClientConnectionsMBean
| Constructor and Description |
|---|
ClientConnections(javax.management.ObjectName name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnectedClientCount() |
void |
notifyClientConnected() |
void |
notifyClientDisconnected() |
objectName, register, unregisterpublic ClientConnections(javax.management.ObjectName name)
throws javax.management.JMException
javax.management.JMExceptionpublic int getConnectedClientCount()
getConnectedClientCount in interface ClientConnectionsMBeanpublic void notifyClientConnected()
public void notifyClientDisconnected()