public class ServerServiceFilter extends Object implements ServerService
| Constructor and Description |
|---|
ServerServiceFilter(ServerService service) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIP() |
String |
getName() |
int |
getPort() |
void |
init(Properties props) |
void |
service(InputStream in,
OutputStream out) |
void |
service(Socket socket) |
void |
start() |
void |
stop() |
public ServerServiceFilter(ServerService service)
public String getIP()
getIP in interface ServerServicepublic String getName()
getName in interface ServerServicepublic int getPort()
getPort in interface ServerServicepublic void service(InputStream in, OutputStream out) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void service(Socket socket) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void start()
throws ServiceException
start in interface ServerServiceServiceExceptionpublic void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic void init(Properties props) throws Exception
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.