Package org.jgrapes.net
Class SocketServer.SocketServerInfo
java.lang.Object
org.jgrapes.net.SocketServer.SocketServerInfo
- All Implemented Interfaces:
SocketServer.SocketServerMXBean
- Enclosing class:
SocketServer
public static class SocketServer.SocketServerInfo
extends Object
implements SocketServer.SocketServerMXBean
The Class SocketServerInfo.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.net.SocketServer.SocketServerMXBean
SocketServer.SocketServerMXBean.ChannelInfo -
Constructor Summary
ConstructorsConstructorDescriptionSocketServerInfo(SocketServer server) Instantiates a new socket server info. -
Method Summary
Modifier and TypeMethodDescriptionintGets the channel count.Gets the channels.Gets the component path.server()Server.
-
Constructor Details
-
SocketServerInfo
Instantiates a new socket server info.- Parameters:
server- the server
-
-
Method Details
-
server
Server.- Returns:
- the optional
-
getComponentPath
Description copied from interface:SocketServer.SocketServerMXBeanGets the component path.- Specified by:
getComponentPathin interfaceSocketServer.SocketServerMXBean- Returns:
- the component path
-
getChannelCount
Description copied from interface:SocketServer.SocketServerMXBeanGets the channel count.- Specified by:
getChannelCountin interfaceSocketServer.SocketServerMXBean- Returns:
- the channel count
-
getChannels
Description copied from interface:SocketServer.SocketServerMXBeanGets the channels.- Specified by:
getChannelsin interfaceSocketServer.SocketServerMXBean- Returns:
- the channels
-