Package org.apache.activeio.xnet
Interface ServerService
- All Superinterfaces:
SocketService
- All Known Implementing Classes:
ServiceAccessController
,ServiceDaemon
,ServiceLogger
,ServicePool
The Server will call the following methods.
newInstance()
init( port, properties)
start()
stop()
All ServerService implementations must have a no argument
constructor.
-
Method Summary
Methods inherited from interface org.apache.activeio.xnet.SocketService
getName, service
-
Method Details
-
init
- Throws:
Exception
-
start
- Throws:
ServiceException
-
stop
- Throws:
ServiceException
-
getIP
String getIP()Gets the ip number that the daemon is listening on. -
getPort
int getPort()Gets the port number that the daemon is listening on.
-