C# Класс TabMon.Counters.MBean.MBeanClientFactory

Factory class that produces instances of MBeanClient objects for a given hostname and port range.
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateClients ( string hostname, int startPort, int endPort ) : ICollection

Creates instances of MBeanClient objects for all open JMX ports on a host within a given port range. This is accomplished by scanning the range starting from the bottom and stopping when a closed port is encountered, to maintain parity with how Tableau exposes JMX ports.

Приватные методы

Метод Описание
IsValidPort ( int port ) : bool
IsValidPortRange ( int startPort, int endPort ) : bool

Описание методов

CreateClients() публичный статический Метод

Creates instances of MBeanClient objects for all open JMX ports on a host within a given port range. This is accomplished by scanning the range starting from the bottom and stopping when a closed port is encountered, to maintain parity with how Tableau exposes JMX ports.
public static CreateClients ( string hostname, int startPort, int endPort ) : ICollection
hostname string The hostname of the remote host to generate clients for.
startPort int The start of the port range to scan.
endPort int The end of the port range to scan.
Результат ICollection