public class RegisterInfo extends Object
| 构造器和说明 |
|---|
RegisterInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getExtraInfos()
Gets the extra infos.
|
String |
getHost()
Gets the host info.
|
int |
getPort()
Gets the port.
|
String |
getProtocol()
Gets the protocol info.
|
String |
getService()
Gets the unique mark for each service info.
|
int |
hashCode() |
void |
setExtraInfos(Map<String,String> extraInfos)
Sets the extra infos.
|
void |
setHost(String host)
Sets the host info.
|
void |
setPort(int port)
Sets the port.
|
void |
setProtocol(String protocol)
Sets the protocol info.
|
void |
setService(String service)
Sets the unique mark for each service info.
|
public String getHost()
public void setHost(String host)
host - the new host infopublic String getService()
public void setService(String service)
service - the new unique mark for each service infopublic String getProtocol()
public void setProtocol(String protocol)
protocol - the new protocol infopublic void setExtraInfos(Map<String,String> extraInfos)
extraInfos - the extra infospublic int getPort()
public void setPort(int port)
port - the new portCopyright © 2022 Baidu, Inc.. All rights reserved.