org.apache.activeio.xnet
Class StandardServiceStack
java.lang.Object
org.apache.activeio.xnet.StandardServiceStack
public class StandardServiceStack
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardServiceStack
public StandardServiceStack(String name,
int port,
String host,
IPAddressPermission[] allowHosts,
String[] logOnSuccess,
String[] logOnFailure,
edu.emory.mathcs.backport.java.util.concurrent.Executor executor,
ServerService server)
throws UnknownHostException
- Throws:
UnknownHostException
getName
public String getName()
getAddress
public InetAddress getAddress()
getFullAddress
public InetSocketAddress getFullAddress()
getHost
public String getHost()
getPort
public int getPort()
getSoTimeout
public int getSoTimeout()
throws IOException
- Throws:
IOException
setSoTimeout
public void setSoTimeout(int timeout)
throws SocketException
- Throws:
SocketException
getLogOnSuccess
public String[] getLogOnSuccess()
getLogOnFailure
public String[] getLogOnFailure()
getAllowHosts
public IPAddressPermission[] getAllowHosts()
setAllowHosts
public void setAllowHosts(IPAddressPermission[] allowHosts)
doStart
public void doStart()
throws Exception
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Throws:
Exception
doFail
public void doFail()
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.