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
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()