data class ServiceInfo
A container for additional information for an advertised service.
type
- the ServiceType identifiername
- the service name, used for differentiating multiple services of the same type. Can also be used as a
grouping identifier for nodes collectively running a distributed service.<init> |
ServiceInfo(type: ServiceType, name: String? = null) A container for additional information for an advertised service. |
name |
val name: String? |
type |
val type: ServiceType |
toString |
fun toString(): String |
parse |
fun parse(encoded: String): ServiceInfo |