public class ServiceType
Identifier for service types a node can expose over the network to other peers. These types are placed into network map advertisements. Services that are purely local and are not providing functionality to other parts of the network don't need a declared service type.
Modifier and Type | Class and Description |
---|---|
static class |
ServiceType.Companion |
Modifier and Type | Field and Description |
---|---|
static ServiceType.Companion |
Companion |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getId() |
ServiceType |
getSubType(java.lang.String subTypeId) |
int |
hashCode() |
boolean |
isNotary() |
boolean |
isSubTypeOf(ServiceType superType) |
java.lang.String |
toString() |
public static ServiceType.Companion Companion
public ServiceType getSubType(java.lang.String subTypeId)
public boolean equals(java.lang.Object other)
public boolean isSubTypeOf(ServiceType superType)
public boolean isNotary()
public int hashCode()
public java.lang.String toString()
public java.lang.String getId()