|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activeio.xnet.ServicePool
public class ServicePool
| Constructor Summary | |
|---|---|
ServicePool(ServerService next,
java.util.concurrent.Executor executor)
|
|
ServicePool(ServerService next,
java.lang.String name,
int threads,
long keepAliveTime)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getIP()
Gets the ip number that the daemon is listening on. |
java.lang.String |
getName()
Gets the name of the service. |
int |
getPort()
Gets the port number that the daemon is listening on. |
void |
init(java.util.Properties props)
Pulls out the access log information |
void |
service(java.net.Socket socket)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServicePool(ServerService next,
java.lang.String name,
int threads,
long keepAliveTime)
public ServicePool(ServerService next,
java.util.concurrent.Executor executor)
| Method Detail |
|---|
public void service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
service in interface SocketServiceServiceException
java.io.IOException
public void init(java.util.Properties props)
throws java.lang.Exception
init in interface ServerServiceprops -
ServiceException
java.lang.Exception
public void start()
throws ServiceException
start in interface ServerServiceServiceException
public void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic java.lang.String getName()
getName in interface SocketServicepublic java.lang.String getIP()
getIP in interface ServerServicepublic int getPort()
getPort in interface ServerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||