com.caucho.jsmp
Class JmtpServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by com.caucho.jsmp.JmtpServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class JmtpServlet
extends GenericServlet

JmtpReader stream handles client packets received from the server.

See Also:
Serialized Form

Constructor Summary
JmtpServlet()
           
 
Method Summary
 void init()
          Initialize the servlet.
 void service(ServletRequest request, ServletResponse response)
          Service a request.
 void setActorClass(java.lang.Class<?> actorClass)
           
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmtpServlet

public JmtpServlet()
Method Detail

setActorClass

public void setActorClass(java.lang.Class<?> actorClass)

init

public void init()
Description copied from class: GenericServlet
Initialize the servlet. Servlets should override this method if they need any initialization like opening pooled database connections.

Overrides:
init in class GenericServlet

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws java.io.IOException,
                    ServletException
Description copied from interface: Servlet
Service a request. Since the servlet engine is multithreaded, many threads may execute service simultaneously. Normally, req and res will actually be HttpServletRequest and HttpServletResponse classes.

Parameters:
request - request information. Normally servlets will cast this to HttpServletRequest
response - response information. Normally servlets will cast this to HttpServletRequest
Throws:
java.io.IOException
ServletException