PortStatus

data class PortStatus(val error: String? = null, val port: Int, val protocol: String)

PortStatus represents the error condition of a service port

Constructors

Link copied to clipboard
constructor(error: String? = null, port: Int, protocol: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val error: String? = null

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names

Link copied to clipboard
val port: Int

Port is the port number of the service port of which status is recorded here

Link copied to clipboard

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"