org.apache.openejb.server.ejbd
Class KeepAliveServer
java.lang.Object
org.apache.openejb.server.ejbd.KeepAliveServer
- All Implemented Interfaces:
- ServerService, Service
public class KeepAliveServer
- extends Object
- implements ServerService
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeepAliveServer
public KeepAliveServer()
KeepAliveServer
@Deprecated
public KeepAliveServer(ServerService service)
- Deprecated.
KeepAliveServer
public KeepAliveServer(ServerService service,
boolean gzip)
closeSessions
public void closeSessions()
addSession
public org.apache.openejb.server.ejbd.KeepAliveServer.Session addSession(org.apache.openejb.server.ejbd.KeepAliveServer.Session session)
removeSession
public org.apache.openejb.server.ejbd.KeepAliveServer.Session removeSession(org.apache.openejb.server.ejbd.KeepAliveServer.Session session)
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service in interface ServerService
- Throws:
ServiceException
IOException
service
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
- Specified by:
service in interface ServerService
- Throws:
ServiceException
IOException
getIP
public String getIP()
- Specified by:
getIP in interface ServerService
getName
public String getName()
- Specified by:
getName in interface ServerService
getPort
public int getPort()
- Specified by:
getPort in interface ServerService
start
public void start()
throws ServiceException
- Specified by:
start in interface ServerService
- Throws:
ServiceException
stop
public void stop()
throws ServiceException
- Specified by:
stop in interface ServerService
- Throws:
ServiceException
init
public void init(Properties props)
throws Exception
- Specified by:
init in interface Service
- Throws:
Exception
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.