C# 클래스 TabMon.Counters.MBean.MBeanClientFactory

Factory class that produces instances of MBeanClient objects for a given hostname and port range.
파일 보기 프로젝트 열기: tableau/TabMon

공개 메소드들

메소드 설명
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