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