C# Class Infinispan.HotRod.Tests.Util.PortProbe

显示文件 Open project: infinispan/dotnet-client Class Usage Examples

Public Methods

Method Description
IsPortClosed ( string hostname, int port, int millisRetry = 500, int millisTimeout = 60000, bool retry = true ) : bool
IsPortOpen ( string hostname, int port, int millisRetry = 500, int millisTimeout = 60000, bool retry = true ) : bool

Private Methods

Method Description
IsPort ( string hostname, int port, int millisRetry, int millisTimeout, bool retry, PortState state ) : bool

Method Details

IsPortClosed() public static method

public static IsPortClosed ( string hostname, int port, int millisRetry = 500, int millisTimeout = 60000, bool retry = true ) : bool
hostname string
port int
millisRetry int
millisTimeout int
retry bool
return bool

IsPortOpen() public static method

public static IsPortOpen ( string hostname, int port, int millisRetry = 500, int millisTimeout = 60000, bool retry = true ) : bool
hostname string
port int
millisRetry int
millisTimeout int
retry bool
return bool