public class Endpoint extends Object
| Constructor and Description |
|---|
Endpoint(Protocol protocol,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getPort() |
Protocol |
getProtocol() |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setProtocol(Protocol protocol) |
String |
toString() |
Copyright © 2021 Alibaba Group. All rights reserved.