org.apache.activeio.xnet
Class StandardServiceStack

java.lang.Object
  extended by org.apache.activeio.xnet.StandardServiceStack

public class StandardServiceStack
extends Object


Constructor Summary
StandardServiceStack(String name, int port, String host, IPAddressPermission[] allowHosts, String[] logOnSuccess, String[] logOnFailure, edu.emory.mathcs.backport.java.util.concurrent.Executor executor, ServerService server)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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-2011 Apache Software Foundation. All Rights Reserved.