com.sun.grizzly.samples.messagesbus
Class JMakiMessagesBus

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.sun.grizzly.messagesbus.MessagesBus
              extended by com.sun.grizzly.samples.messagesbus.JMakiMessagesBus
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class JMakiMessagesBus
extends MessagesBus

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.grizzly.messagesbus.MessagesBus
MessagesBus.CometType
 
Constructor Summary
JMakiMessagesBus()
           
 
Method Summary
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Basic implementation of the Grizzly Comet Protocol (GCP).
 void init(ServletConfig config)
          
 
Methods inherited from class com.sun.grizzly.messagesbus.MessagesBus
createCometContext, doGet, getExpirationDelay, push, setExpirationDelay, suspend
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMakiMessagesBus

public JMakiMessagesBus()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Description copied from class: MessagesBus

Specified by:
init in interface Servlet
Overrides:
init in class MessagesBus
Throws:
ServletException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Description copied from class: MessagesBus
Basic implementation of the Grizzly Comet Protocol (GCP).

Overrides:
doPost in class MessagesBus
Parameters:
request - The request
response - The response
Throws:
ServletException
IOException


Copyright © 2010 SUN Microsystems. All Rights Reserved.