Package eu.mosaic_cloud.components.core

Examples of eu.mosaic_cloud.components.core.ComponentCastRequest


      final Object operationValue = message.metaData.get (Token.Operation.string);
      Preconditions.checkNotNull (operationValue, "missing operation attribute");
      Preconditions.checkArgument (operationValue instanceof String, "invalid operation attribute `%s`", operationValue);
      Preconditions.checkArgument (message.metaData.containsKey (Token.Inputs.string), "missing meta-data attribute");
      final Object inputsValue = message.metaData.get (Token.Inputs.string);
      final ComponentCastRequest request = ComponentCastRequest.create ((String) operationValue, inputsValue, message.data.asReadOnlyBuffer ());
      this.componentCallbacksProxy.casted (this.componentControllerProxy, request);
    }
View Full Code Here


      Preconditions.checkNotNull (component);
      Preconditions.checkNotNull (operation);
      CloudletComponent.this.transcript.traceDebugging ("casting to the component `%s` with operation `%s`...", component.string, operation);
      // FIXME: This should be done in `Active` state
      // FIXME: This should be done in an `FsmAccess`
      final ComponentCastRequest request = ComponentCastRequest.create (operation, inputs);
      final CallbackCompletion<Void> completion = CloudletComponent.this.componentControllerProxy.cast (component, request);
      return (completion);
    }
View Full Code Here

TOP

Related Classes of eu.mosaic_cloud.components.core.ComponentCastRequest

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.