public interface ServerService extends Service
void start()
throws ServiceException
ServiceExceptionvoid stop()
throws ServiceException
ServiceExceptionvoid service(InputStream in, OutputStream out) throws ServiceException, IOException
ServiceExceptionIOExceptionvoid service(Socket socket) throws ServiceException, IOException
ServiceExceptionIOExceptionString getName()
String getIP()
int getPort()
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.