Examples of process()


Examples of org.jitterbit.integration.client.project.caseconverter.ProjectProcessor.process()

        @Override
        protected void runImpl() throws InterruptedException {
            try {
                ProjectProcessor processor = new ProjectProcessor(project.getProject().getName(),
                                project.getLocation(), conversion);
                processor.process();
                onSuccessCallback.handle(processor.getAffectedTransformations(), processor.getSkippedTransformations());
            } catch (Exception ex) {
                ErrorLog.attention(getClass(), "An error occurred: " + ex.getMessage(), ex);
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.controller.NewOperationProcessor.process()

                    installToolbar();
                }
                graph.requestFocus();
                if (operation.isTransient()) {
                    NewOperationProcessor newOpProcessor = new NewOperationProcessor(controller);
                    newOpProcessor.process(operation);
                }
            }
        });
    }
View Full Code Here

Examples of org.jivesoftware.openfire.handler.IQHandler.process()

                            // Answer an error since the server can't handle packets sent to a node
                            sendErrorPacket(packet, PacketError.Condition.service_unavailable);
                        }
                    }
                    else {
                        handler.process(packet);
                    }
                }
            }
            else {
                // JID is of the form <node@domain/resource> or belongs to a remote server
View Full Code Here

Examples of org.jivesoftware.openfire.handler.PresenceUpdateHandler.process()

        PresenceUpdateHandler presenceUpdateHandler = XMPPServer.getInstance().getPresenceUpdateHandler();
        for (LocalClientSession session : localRoutingTable.getClientRoutes()) {
            // Simulate that the local session has just became available
            session.setInitialized(false);
            // Simulate that current session presence has just been received
            presenceUpdateHandler.process(session.getPresence());
        }
    }

    public void joinedCluster(byte[] nodeID) {
        // Do nothing
View Full Code Here

Examples of org.jivesoftware.openfire.net.StanzaHandler.process()

        // Update counter of read btyes
        updateReadBytesCounter(session);
        //System.out.println("RCVD: " + message);
        // Let the stanza handler process the received stanza
        try {
            handler.process((String) message, parser);
        } catch (Exception e) {
            Log.error("Closing connection due to error while processing message: " + message, e);
            Connection connection = (Connection) session.getAttribute(CONNECTION);
            connection.close();
        }
View Full Code Here

Examples of org.jivesoftware.openfire.session.ClientSession.process()

            }
            else {
                packet.setTo(session.getAddress());
                packet.setFrom((JID)null);
                packet.setError(PacketError.Condition.not_authorized);
                session.process(packet);
            }
            // Invoke the interceptors after we have processed the read packet
            InterceptorManager.getInstance().invokeInterceptors(packet, session, true, true);
        } catch (PacketRejectedException e) {
            // An interceptor rejected this packet
View Full Code Here

Examples of org.jivesoftware.openfire.session.ConnectionMultiplexerSession.process()

            Route wrapper = new Route(streamID);
            wrapper.setFrom(serverName);
            wrapper.setTo(connectionManagerName);
            wrapper.setChildElement(packet.getElement().createCopy());
            // Deliver wrapper
            multiplexerSession.process(wrapper);
            session.incrementServerPacketCount();
        }
    }

    /**
 
View Full Code Here

Examples of org.jivesoftware.openfire.session.LocalClientSession.process()

            }
            catch (StringprepException e) {
                reply.setChildElement(packet.getChildElement().createCopy());
                reply.setError(PacketError.Condition.jid_malformed);
                // Send the error directly since a route does not exist at this point.
                session.process(reply);
                return null;
            }
        }
        // Get the token that was generated during the SASL authentication
        AuthToken authToken = session.getAuthToken();
View Full Code Here

Examples of org.jivesoftware.openfire.session.Session.process()

            Log.error(LocaleUtils.getLocalizedString("admin.error.routing"), e);
            Session session = sessionManager.getSession(packet.getFrom());
            if (session != null) {
                IQ reply = IQ.createResultIQ(packet);
                reply.setError(PacketError.Condition.internal_server_error);
                session.process(reply);
            }
        }
    }

    private void sendErrorPacket(IQ originalPacket, PacketError.Condition condition) {
View Full Code Here

Examples of org.jostraca.BasicDirectiveElementProcessor.process()

    tahs.clear();
    String s03 = " @section bar ";
    Block  b03 = new Block( Block.TYPE_script, s03 );
    assertTrue( bdep.isMatch( b03 ) );
    bdep.process( b03 );
    assertTrue( "bar".equals( tahs.getDefaultSectionName() ) );
    String s04 = " @section ";
    Block  b04 = new Block( Block.TYPE_script, s04 );
    assertTrue( bdep.isMatch( b04 ) );
    bdep.process( b04 );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.