|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerService
The Server will call the following methods.
newInstance() init( port, properties) start() stop() All ServerService implementations must have a no argument constructor.
| Method Summary | |
|---|---|
java.lang.String |
getIP()
Gets the ip number that the daemon is listening on. |
int |
getPort()
Gets the port number that the daemon is listening on. |
void |
init(java.util.Properties props)
|
void |
start()
|
void |
stop()
|
| Methods inherited from interface org.apache.activeio.xnet.SocketService |
|---|
getName, service |
| Method Detail |
|---|
void init(java.util.Properties props)
throws java.lang.Exception
java.lang.Exception
void start()
throws ServiceException
ServiceException
void stop()
throws ServiceException
ServiceExceptionjava.lang.String getIP()
int getPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||