public abstract class BaseAppleServer extends Object implements AppleServer
| 构造器和说明 |
|---|
BaseAppleServer(AppleGateway appleGateway,
boolean isProduction)
Constructor for BaseAppleServer.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getHost()
getHost.
|
int |
getPort()
getPort.
|
String |
getProxyHost()
getProxyHost.
|
int |
getProxyPort()
getProxyPort.
|
void |
setProxy(String proxyHost,
int proxyPort)
setProxy.
|
public BaseAppleServer(AppleGateway appleGateway, boolean isProduction)
Constructor for BaseAppleServer.
appleGateway - a AppleGateway object.isProduction - a boolean.public String getHost()
getHost.
getHost 在接口中 AppleServerString object.public int getPort()
getPort.
getPort 在接口中 AppleServerpublic String getProxyHost()
getProxyHost.
getProxyHost 在接口中 AppleServerString object.public int getProxyPort()
getProxyPort.
getProxyPort 在接口中 AppleServerpublic void setProxy(String proxyHost, int proxyPort)
setProxy.
setProxy 在接口中 AppleServerproxyHost - a String object.proxyPort - a int.Copyright © 2015. All rights reserved.