public abstract class HttpEjbServer extends Object implements ServerService
| Modifier and Type | Field and Description |
|---|---|
protected HttpServer |
httpServer |
| Constructor and Description |
|---|
HttpEjbServer() |
| 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() |
protected HttpServer httpServer
public void init(Properties props) throws Exception
public void service(Socket socket) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void service(InputStream in, OutputStream out) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void start()
throws ServiceException
start in interface ServerServiceServiceExceptionpublic void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic String getName()
getName in interface ServerServicepublic int getPort()
getPort in interface ServerServicepublic String getIP()
getIP in interface ServerServiceCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.