public class ClientEndPointDTO extends Object implements JsonSerializable
ClientEndpoint
.Modifier and Type | Field and Description |
---|---|
String |
address
Client's socket address as "hostname:port"
|
String |
canonicalHostName
Client's FQDN if we're able to resolve it, host name if not.
|
String |
clientType |
String |
ipAddress
Client's IP address (without port) or
null if client's address is unresolved |
Set<String> |
labels |
String |
name |
String |
uuid |
Constructor and Description |
---|
ClientEndPointDTO() |
ClientEndPointDTO(Client client) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject . |
public String uuid
public String address
public String clientType
public String name
public String ipAddress
null
if client's address is unresolvedpublic String canonicalHostName
null
if client's address is unresolvedpublic ClientEndPointDTO()
public ClientEndPointDTO(Client client)
public JsonObject toJson()
JsonSerializable
JsonObject
.toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
JsonSerializable
json
object and mutates the
state of this object.fromJson
in interface JsonSerializable
json
- the JSON object carrying state for this objectCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.