Package org.globus.workspace.client_core.repr

Examples of org.globus.workspace.client_core.repr.StateOrTerminated


     */
    public StateOrTerminated queryOnce() throws ParameterProblem,
                                                ExecutionProblem {
        this.validateAll();

        final StateOrTerminated stateOrTerm = this.execWrap();
        if (stateOrTerm.getState() != null &&
                this.stateChangeConduit != null) {
            this.stateChangeConduit.stateChange(this.stateEPR,
                                                stateOrTerm.getState());
        }

        if (stateOrTerm.isTerminated() &&
                this.termConduit != null) {
            this.termConduit.terminationOccured(this.termEPR);
        }

        return stateOrTerm;
View Full Code Here


            final String workspaceID = Integer.toString(this.id);
           
            final State state =
                    StateUtils.fromWireHelper(workspaceID, this.addr, me);

            return new StateOrTerminated(state);
           
        } catch (ResourceUnknownFaultType unknown) {
            return new StateOrTerminated(null);
        } catch (Exception e) {
            throw new ExecutionProblem(e.getMessage(), e);
        }
    }
View Full Code Here

TOP

Related Classes of org.globus.workspace.client_core.repr.StateOrTerminated

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.