Package eu.admire.clienttoolkit.rest

Examples of eu.admire.clienttoolkit.rest.DispelProcessClientREST


        LOG.debug("Poll interval = " + pollInterval);
        try {
            // get gateway and retrieve property data source

            LOG.debug("Creating dispel process client from uri...");
            DispelProcessClientREST gateway = new DispelProcessClientREST(new URI(gwURIString));
            LOG.debug("Done.");
            ProcessingStatus status = gateway.getStatus();
            LOG.debug("Waiting for root gateway to initialise.");
            while (!status.isInitialised())
            {
                if (status.isError()) {
                    throw new ActivityUserException(
                            new RequestInitialisationFailedException());
                }
                Thread.sleep(pollInterval);
                status = gateway.getStatus();
            }
            LOG.debug("Received address of data transfer.");

            URL address = getAddress(transferName, gateway);
            LOG.debug("Address = " + address);
View Full Code Here

TOP

Related Classes of eu.admire.clienttoolkit.rest.DispelProcessClientREST

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.