public interface ServerService extends Service
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIP() |
java.lang.String |
getName() |
int |
getPort() |
void |
service(java.io.InputStream in,
java.io.OutputStream out) |
void |
service(java.net.Socket socket) |
void |
start() |
void |
stop() |
void start()
throws ServiceException
ServiceExceptionvoid stop() throws ServiceException
ServiceExceptionvoid service(java.io.InputStream in,
java.io.OutputStream out)
throws ServiceException,
java.io.IOException
ServiceExceptionjava.io.IOExceptionvoid service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
ServiceExceptionjava.io.IOExceptionjava.lang.String getName()
java.lang.String getIP()
int getPort()