public class ServiceEndpoint extends Object implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceEndpoint.Builder |
| Constructor and Description |
|---|
ServiceEndpoint()
Deprecated.
exposed only for de/serialization purpose.
|
| Modifier and Type | Method and Description |
|---|---|
io.scalecube.net.Address |
address() |
static ServiceEndpoint.Builder |
builder() |
Set<String> |
contentTypes() |
static ServiceEndpoint.Builder |
from(ServiceEndpoint serviceEndpoint) |
String |
id() |
void |
readExternal(ObjectInput in) |
Collection<ServiceReference> |
serviceReferences()
Creates collection of service references from
serviceRegistrations. |
Collection<ServiceRegistration> |
serviceRegistrations() |
Map<String,String> |
tags() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
@Deprecated public ServiceEndpoint()
public static ServiceEndpoint.Builder builder()
public static ServiceEndpoint.Builder from(ServiceEndpoint serviceEndpoint)
public String id()
public io.scalecube.net.Address address()
public Collection<ServiceRegistration> serviceRegistrations()
public Collection<ServiceReference> serviceReferences()
serviceRegistrations.ServiceReference collectionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2015–2021. All rights reserved.