Package org.itsnat.impl.core.listener

Examples of org.itsnat.impl.core.listener.GenericTaskImpl


        {
            super.processClientDocument2(listenerId,clientDoc);

            if (taskPendingToFinish != null)
            {
                GenericTaskImpl task = taskPendingToFinish.getGenericTask();
                task.waitToFinish();
                if (clientDoc.isInvalid())
                {
                    task.dispose();
                    taskPendingToFinish = null; // No se debe procesar este evento, no vale la pena y puede confundir al programador
                }
            }
        }
        while(taskPendingToFinish != null);
View Full Code Here


                this.taskPendingToFinish = (ItsNatNormalCometEventListenerWrapperImpl)clientDoc.removeCometTask(listenerId);
            }
            else throw new ItsNatException("Malformed URL/request",clientDoc);
        }

        GenericTaskImpl task = taskPendingToFinish.getGenericTask();
        if (!task.mustWait())
        {
            task.dispose(); // Si ya se llam� no hace nada

            ItsNatGenericTaskEventListenerWrapperImpl listener = this.taskPendingToFinish;
            this.taskPendingToFinish = null;
            return new ResponseGenericTaskEventImpl(this,listener);
        }
View Full Code Here

TOP

Related Classes of org.itsnat.impl.core.listener.GenericTaskImpl

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.