org.richfaces.application.push.impl.jms
Class RequestImpl

java.lang.Object
  extended by org.richfaces.application.push.impl.AbstractRequest
      extended by org.richfaces.application.push.impl.jms.RequestImpl
All Implemented Interfaces:
EventListener, org.richfaces.application.push.MessageListener, org.richfaces.application.push.Request

public class RequestImpl
extends AbstractRequest
implements org.richfaces.application.push.MessageListener

Author:
Nick Belaevski

Constructor Summary
RequestImpl(org.atmosphere.cpr.AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> atmosphereResource, org.richfaces.application.push.Session session, ExecutorService executorService, org.richfaces.application.push.TopicsContext topicsContext)
           
 
Method Summary
 org.richfaces.application.push.MessageListener getMessageListener()
           
 void onMessage(Object message)
           
 
Methods inherited from class org.richfaces.application.push.impl.AbstractRequest
flushMessages, getResource, getSession, isPolling, isSuspended, onBroadcast, onDisconnect, onResume, onSuspend, postMessage, resume, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestImpl

public RequestImpl(org.atmosphere.cpr.AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> atmosphereResource,
                   org.richfaces.application.push.Session session,
                   ExecutorService executorService,
                   org.richfaces.application.push.TopicsContext topicsContext)
Method Detail

onMessage

public void onMessage(Object message)
               throws org.richfaces.application.push.MessageException
Specified by:
onMessage in interface org.richfaces.application.push.MessageListener
Throws:
org.richfaces.application.push.MessageException

getMessageListener

public org.richfaces.application.push.MessageListener getMessageListener()
Specified by:
getMessageListener in interface org.richfaces.application.push.Request


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.