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
UnknownHostException
public String getName()
public InetAddress getAddress()
public InetSocketAddress getFullAddress()
public String getHost()
public int getPort()
public int getSoTimeout() throws IOException
IOException
public void setSoTimeout(int timeout) throws SocketException
SocketException
public String[] getLogOnSuccess()
public String[] getLogOnFailure()
public IPAddressPermission[] getAllowHosts()
public void setAllowHosts(IPAddressPermission[] allowHosts)
public void doFail()
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.