org.activeio.xnet
Class StandardServiceStack
java.lang.Object
org.activeio.xnet.StandardServiceStack
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle
- public class StandardServiceStack
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle
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,
Executor executor,
ServerService server)
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
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
Copyright © -2007 The ActiveIO Project. All Rights Reserved.