Package dev.galasa.ipnetwork
Interface IIpHost
- All Known Subinterfaces:
IIpHostSpi
- All Known Implementing Classes:
AbstractGenericIpHost
public interface IIpHost
Represents a IP Host or Stack.
Use the appropriate host manager annotation to obtain an object
-
Method Summary
Modifier and TypeMethodDescription@NotNull ICredentials
int
Get the FTP port, defaults to 21@NotNull String
Get the default Hostname of the HostGet the IPV4 Hostname of the HostGet the IPV6 Hostname of the Hostint
Get the SSH port, defaults to 22int
Get the Telnet port, defaults to 23boolean
Is the FTP port secured by TLS, default falseboolean
Is the Telnet port secured by TLS, default false
-
Method Details
-
getHostname
Get the default Hostname of the Host -
getIpv4Hostname
String getIpv4Hostname()Get the IPV4 Hostname of the Host -
getIpv6Hostname
String getIpv6Hostname()Get the IPV6 Hostname of the Host -
getTelnetPort
Get the Telnet port, defaults to 23- Returns:
- Telnet port
- Throws:
IpNetworkManagerException
- if there is a problem accessing the CPS
-
isTelnetPortTls
Is the Telnet port secured by TLS, default false- Returns:
- secured?
- Throws:
IpNetworkManagerException
- if there is a problem accessing the CPS
-
getFtpPort
Get the FTP port, defaults to 21- Returns:
- FTP port
- Throws:
IpNetworkManagerException
- if there is a problem accessing the CPS
-
isFtpPortTls
Is the FTP port secured by TLS, default false- Returns:
- secured?
- Throws:
IpNetworkManagerException
- if there is a problem accessing the CPS
-
getSshPort
Get the SSH port, defaults to 22- Returns:
- SSH Port
- Throws:
IpNetworkManagerException
- if there is a problem accessing the CPS
-
getDefaultCredentials
- Returns:
- Throws:
IpNetworkManagerException
-