public class StandardServiceStack extends Object
| Constructor and Description |
|---|
StandardServiceStack(String name,
int port,
String host,
IPAddressPermission[] allowHosts,
String[] logOnSuccess,
String[] logOnFailure,
Executor executor,
ServerService server) |
| Modifier and Type | Method and Description |
|---|---|
void |
doFail() |
void |
doStart() |
void |
doStop() |
InetAddress |
getAddress() |
IPAddressPermission[] |
getAllowHosts() |
InetSocketAddress |
getFullAddress() |
String |
getHost() |
String[] |
getLogOnFailure() |
String[] |
getLogOnSuccess() |
String |
getName() |
int |
getPort() |
int |
getSoTimeout() |
void |
setAllowHosts(IPAddressPermission[] allowHosts) |
void |
setSoTimeout(int timeout) |
public StandardServiceStack(String name, int port, String host, IPAddressPermission[] allowHosts, String[] logOnSuccess, String[] logOnFailure, Executor executor, ServerService server) throws UnknownHostException
UnknownHostExceptionpublic String getName()
public InetAddress getAddress()
public InetSocketAddress getFullAddress()
public String getHost()
public int getPort()
public int getSoTimeout()
throws IOException
IOExceptionpublic void setSoTimeout(int timeout)
throws SocketException
SocketExceptionpublic String[] getLogOnSuccess()
public String[] getLogOnFailure()
public IPAddressPermission[] getAllowHosts()
public void setAllowHosts(IPAddressPermission[] allowHosts)
public void doFail()
Copyright © 2005–2019. All rights reserved.