public class InetSocketAddressWrapper extends Object
| 构造器和说明 |
|---|
InetSocketAddressWrapper(InetSocketAddress inetSocketAddress,
int order,
int weight,
InetSocketAddress mainNodeAddress) |
| 限定符和类型 | 方法和说明 |
|---|---|
InetSocketAddress |
getInetSocketAddress() |
InetSocketAddress |
getMainNodeAddress() |
int |
getOrder() |
String |
getRemoteAddressStr() |
int |
getWeight() |
void |
setInetSocketAddress(InetSocketAddress inetSocketAddress) |
void |
setMainNodeAddress(InetSocketAddress mainNodeAddress) |
void |
setOrder(int order) |
void |
setRemoteAddressStr(String remoteAddressStr) |
void |
setWeight(int weight) |
public InetSocketAddressWrapper(InetSocketAddress inetSocketAddress, int order, int weight, InetSocketAddress mainNodeAddress)
public String getRemoteAddressStr()
public void setRemoteAddressStr(String remoteAddressStr)
public final InetSocketAddress getInetSocketAddress()
public final void setInetSocketAddress(InetSocketAddress inetSocketAddress)
public final int getOrder()
public int getWeight()
public void setWeight(int weight)
public InetSocketAddress getMainNodeAddress()
public void setMainNodeAddress(InetSocketAddress mainNodeAddress)
public final void setOrder(int order)
Copyright © 2013. All Rights Reserved.