Package org.richfaces.application.push

Examples of org.richfaces.application.push.SessionPreSubscriptionEvent


     * (non-Javadoc)
     * @see org.richfaces.application.push.Topic#checkSubscription(org.richfaces.application.push.Session)
     */
    @Override
    public void checkSubscription(Session session) throws SubscriptionFailureException {
        SessionPreSubscriptionEvent event = new SessionPreSubscriptionEvent(this, getKey(), session);
        for (TopicListener listener : listeners) {
            if (event.isAppropriateListener(listener)) {
                try {
                    event.invokeListener(listener);
                } catch (SubscriptionFailureException e) {
                    throw e;
                } catch (Exception e) {
                    logError(e);
                }
View Full Code Here

TOP

Related Classes of org.richfaces.application.push.SessionPreSubscriptionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.