Package org.jgrapes.net
Class TcpServer.TcpServerInfo
java.lang.Object
org.jgrapes.net.TcpServer.TcpServerInfo
- All Implemented Interfaces:
TcpServer.TcpServerMXBean
- Enclosing class:
- TcpServer
The Class TcpServerInfo.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.net.TcpServer.TcpServerMXBean
TcpServer.TcpServerMXBean.ChannelInfo
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TcpServerInfo
Instantiates a new tcp server info.- Parameters:
server
- the server
-
-
Method Details
-
server
Server.- Returns:
- the optional
-
getComponentPath
Description copied from interface:TcpServer.TcpServerMXBean
Gets the component path.- Specified by:
getComponentPath
in interfaceTcpServer.TcpServerMXBean
- Returns:
- the component path
-
getPort
Description copied from interface:TcpServer.TcpServerMXBean
Gets the port.- Specified by:
getPort
in interfaceTcpServer.TcpServerMXBean
- Returns:
- the port
-
getChannelCount
Description copied from interface:TcpServer.TcpServerMXBean
Gets the channel count.- Specified by:
getChannelCount
in interfaceTcpServer.TcpServerMXBean
- Returns:
- the channel count
-
getChannels
Description copied from interface:TcpServer.TcpServerMXBean
Gets the channels.- Specified by:
getChannels
in interfaceTcpServer.TcpServerMXBean
- Returns:
- the channels
-