|
||||||||||
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. |
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)
|
void |
service(java.io.InputStream in,
java.io.OutputStream out)
|
void |
service(java.net.Socket socket)
|
void |
start()
|
void |
stop()
|
Method Detail |
---|
void init(java.util.Properties props) throws java.lang.Exception
init
in interface Service
java.lang.Exception
void start() throws ServiceException
ServiceException
void stop() throws ServiceException
ServiceException
void service(java.io.InputStream in, java.io.OutputStream out) throws ServiceException, java.io.IOException
ServiceException
java.io.IOException
void service(java.net.Socket socket) throws ServiceException, java.io.IOException
ServiceException
java.io.IOException
java.lang.String getName()
java.lang.String getIP()
int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |