public class GrpcServerAddress extends Object
Modifier and Type | Method and Description |
---|---|
static GrpcServerAddress |
create(InetSocketAddress socketAddress) |
static GrpcServerAddress |
create(String hostName,
SocketAddress socketAddress) |
boolean |
equals(Object other) |
String |
getHostName() |
SocketAddress |
getSocketAddress() |
int |
hashCode() |
String |
toString() |
public static GrpcServerAddress create(InetSocketAddress socketAddress)
socketAddress
- physical addresspublic static GrpcServerAddress create(String hostName, SocketAddress socketAddress)
hostName
- target host namesocketAddress
- physical addresspublic String getHostName()
public SocketAddress getSocketAddress()
Copyright © 2023. All Rights Reserved.