com.r3corda.core.node.services / ServiceInfo / <init>

<init>

ServiceInfo(type: ServiceType, name: String? = null)

A container for additional information for an advertised service.

Parameters

type - the ServiceType identifier

name - 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.