Package uk.org.ogsadai.client.toolkit

Examples of uk.org.ogsadai.client.toolkit.ServerProxy


        URL serverBaseUrl;
        serverBaseUrl = new URL("http://localhost:8081/dai/services/");

        ResourceID drerId = new ResourceID("DataRequestExecutionResource");

        ServerProxy serverProxy = new ServerProxy();
        serverProxy.setDefaultBaseServicesURL(serverBaseUrl);

        drer = serverProxy.getDataRequestExecutionResource(drerId);
    }
View Full Code Here


        URL serverBaseUrl;
        serverBaseUrl = new URL("http://127.0.0.1:6080/dai/services/");

        ResourceID drerId = new ResourceID("DataRequestExecutionResource");

        ServerProxy serverProxy = new ServerProxy();
        serverProxy.setDefaultBaseServicesURL(serverBaseUrl);

        drer = serverProxy.getDataRequestExecutionResource(drerId);
    }
View Full Code Here

    public RDFActivityApp(String registryAddress)
    {

        //is URL
        ServerProxy server = new ServerProxy();
        try {
            server.setDefaultBaseServicesURL(new URL(registryAddress));
        } catch (MalformedURLException e) {
            LOG.error(e.getMessage());
            e.printStackTrace();
        }
        mDRER = server.getDataRequestExecutionResource(new ResourceID("DataRequestExecutionResource"));
    }
View Full Code Here

    public void go(DataEvent dataEvent)
    {
        try
        {
            // Get a server
            Server server = new ServerProxy();
            server.setDefaultBaseServicesURL(mServerUrl);
            DataRequestExecutionResource drer =
                server.getDataRequestExecutionResource(
                    new ResourceID("DataRequestExecutionResource"));
           
            // Create a data source resource
            DataSourceResource dataSource = drer.createDataSourceResource();
           
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.client.toolkit.ServerProxy

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.