public class KeepAliveServer extends java.lang.Object implements ServerService
Modifier and Type | Class and Description |
---|---|
class |
KeepAliveServer.Input |
class |
KeepAliveServer.KeepAliveTimer |
class |
KeepAliveServer.Output |
Constructor and Description |
---|
KeepAliveServer() |
KeepAliveServer(ServerService service)
Deprecated.
|
KeepAliveServer(ServerService service,
boolean gzip) |
Modifier and Type | Method and Description |
---|---|
org.apache.openejb.server.ejbd.KeepAliveServer.Session |
addSession(org.apache.openejb.server.ejbd.KeepAliveServer.Session session) |
void |
closeSessions() |
java.lang.String |
getIP() |
java.lang.String |
getName() |
int |
getPort() |
void |
init(java.util.Properties props) |
org.apache.openejb.server.ejbd.KeepAliveServer.Session |
removeSession(org.apache.openejb.server.ejbd.KeepAliveServer.Session session) |
void |
service(java.io.InputStream in,
java.io.OutputStream out) |
void |
service(java.net.Socket socket) |
void |
start() |
void |
stop() |
public KeepAliveServer()
@Deprecated public KeepAliveServer(ServerService service)
public KeepAliveServer(ServerService service, boolean gzip)
public void closeSessions()
public org.apache.openejb.server.ejbd.KeepAliveServer.Session addSession(org.apache.openejb.server.ejbd.KeepAliveServer.Session session)
session
- public org.apache.openejb.server.ejbd.KeepAliveServer.Session removeSession(org.apache.openejb.server.ejbd.KeepAliveServer.Session session)
session
- public void service(java.net.Socket socket) throws ServiceException, java.io.IOException
service
in interface ServerService
ServiceException
java.io.IOException
public void service(java.io.InputStream in, java.io.OutputStream out) throws ServiceException, java.io.IOException
service
in interface ServerService
ServiceException
java.io.IOException
public java.lang.String getIP()
getIP
in interface ServerService
public java.lang.String getName()
getName
in interface ServerService
public int getPort()
getPort
in interface ServerService
public void start() throws ServiceException
start
in interface ServerService
ServiceException
public void stop() throws ServiceException
stop
in interface ServerService
ServiceException