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
ConstructorDescriptionSocketServerInfo
(SocketServer server) Instantiates a new socket server info. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets 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.SocketServerMXBean
Gets the component path.- Specified by:
getComponentPath
in interfaceSocketServer.SocketServerMXBean
- Returns:
- the component path
-
getChannelCount
Description copied from interface:SocketServer.SocketServerMXBean
Gets the channel count.- Specified by:
getChannelCount
in interfaceSocketServer.SocketServerMXBean
- Returns:
- the channel count
-
getChannels
Description copied from interface:SocketServer.SocketServerMXBean
Gets the channels.- Specified by:
getChannels
in interfaceSocketServer.SocketServerMXBean
- Returns:
- the channels
-