Package com.nabalive.common.server

Examples of com.nabalive.common.server.EventListener


    public void onEvent(Event event) {
        synchronized (eventListenerList) {
            Iterator<EventListener> iterator = eventListenerList.iterator();
            while (iterator.hasNext()) {
                EventListener listener = iterator.next();
                try {
                    listener.onEvent(jid.getUser(), event);
                } catch (Exception e) {
                    logger.debug("eventListener exception (unregister): ", e);
                    iterator.remove();
                }
            }
View Full Code Here

TOP

Related Classes of com.nabalive.common.server.EventListener

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.