Package net.fortytwo.rdfagents.jade

Examples of net.fortytwo.rdfagents.jade.RDFAgentsPlatformImpl


        int port = p.getInt(TwitLogic.RDFAGENTS_PLATFORM_PORT);
        String providerName = p.getString(TwitLogic.RDFAGENTS_AGENT_NAME);
        String xmppServer = p.getString("jade_mtp_xmpp_server");
        String xmppUserName = p.getString("jade_mtp_xmpp_username");

        RDFAgentsPlatform platform = new RDFAgentsPlatformImpl(platformName, datasetFactory, port, config);

        String address = RDFAgents.XMPP_URI_PREFIX + xmppUserName + "@" + xmppServer;// + "/acc";
        String name = RDFAgents.NAME_PREFIX + providerName + "@" + platformName;
        TwitLogicAgent agent = new TwitLogicAgent(config, platform, new AgentId(name, address));
        agent.setRateLimit(1000);
View Full Code Here


        final DatasetFactory datasetFactory = new DatasetFactory(new ValueFactoryImpl());
        for (RDFContentLanguage l : RDFContentLanguage.values()) {
            datasetFactory.addLanguage(l);
        }

        RDFAgentsPlatform p = new RDFAgentsPlatformImpl("twitlogic.fortytwo.net", 8889, config);


        RDFAgent twitlogic = new TwitLogicAgent(config, p,
                new AgentId("urn:x-agent:twitlogic@twitlogic.fortytwo.net", "xmpp://patabot.2@jabber.org"));
        RDFAgent consumer = new RDFAgentImpl(p,
View Full Code Here

TOP

Related Classes of net.fortytwo.rdfagents.jade.RDFAgentsPlatformImpl

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.