public final class Endpoint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Endpoint.Builder |
| Modifier and Type | Field and Description |
|---|---|
int |
ipv4
IPv4 endpoint address packed into 4 bytes.
|
Short |
port
IPv4 port or null, if not known.
|
String |
serviceName
Classifier of a source or destination in lowercase, such as "zipkin-web".
|
| Modifier and Type | Method and Description |
|---|---|
static Endpoint |
create(String serviceName,
int ipv4) |
static Endpoint |
create(String serviceName,
int ipv4,
int port) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public final String serviceName
public final int ipv4
(1 << 24) | (2 << 16) | (3 << 8) | 4Inet4Address.getAddress()@Nullable public final Short port
InetSocketAddress.getPort()Copyright © 2015–2016 OpenZipkin. All rights reserved.