Examples of DispelProcessClientREST


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
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.