Exemplo n.º 1
0
        /** {@inheritDoc} */


        public void notifyActionEvent(QQActionEvent.Type type, Object target)
        {
            //if (evtHandlers != null) {
            //    evtHandlers(new QQActionEvent(type, target));
            //}
            future.notifyActionEvent(type, target);
        }
Exemplo n.º 2
0
        /**
         * <p>notifyActionEvent.</p>
         *
         * @param type a {@link iqq.im.evt.QQActionEvent.Type} object.
         * @param target a {@link java.lang.Object} object.
         */
        public void notifyActionEvent(QQActionEvent.Type type, Object target)
        {
            QQActionEvent evt = new QQActionEvent(type, target, this);

            if (proxyListener != null)
            {
                proxyListener(evt);
            }
            evtQueue.Enqueue(evt);
        }
Exemplo n.º 3
0
 private Boolean isFinalEvent(QQActionEvent evt)
 {
     QQActionEvent.Type type = evt.getType();
     return(type == QQActionEvent.Type.EVT_ERROR ||
            type == QQActionEvent.Type.EVT_OK);
 }