Package org.apache.activeio.xnet
Class StandardServiceStack
java.lang.Object
org.apache.activeio.xnet.StandardServiceStack
-
Constructor Summary
ConstructorsConstructorDescriptionStandardServiceStack(String name, int port, String host, IPAddressPermission[] allowHosts, String[] logOnSuccess, String[] logOnFailure, Executor executor, ServerService server) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFail()voiddoStart()voiddoStop()getHost()String[]String[]getName()intgetPort()intvoidsetAllowHosts(IPAddressPermission[] allowHosts) voidsetSoTimeout(int timeout)
-
Constructor Details
-
StandardServiceStack
public StandardServiceStack(String name, int port, String host, IPAddressPermission[] allowHosts, String[] logOnSuccess, String[] logOnFailure, Executor executor, ServerService server) throws UnknownHostException - Throws:
UnknownHostException
-
-
Method Details
-
getName
-
getAddress
-
getFullAddress
-
getHost
-
getPort
public int getPort() -
getSoTimeout
- Throws:
IOException
-
setSoTimeout
- Throws:
SocketException
-
getLogOnSuccess
-
getLogOnFailure
-
getAllowHosts
-
setAllowHosts
-
doStart
- Throws:
Exception
-
doStop
- Throws:
Exception
-
doFail
public void doFail()
-