Examples of call()


Examples of org.asynchttpclient.providers.netty.Callback.call()

                        // FIXME investigate this
                        Channels.setAttribute(channel, callback);
                    } else {
                        // FIXME don't understand: this offers the connection to the pool, or even closes it, while the
                        // request has not been sent, right?
                        callback.call();
                    }

                    Request redirectRequest = requestBuilder.setUrl(newUrl).build();
                    // FIXME why not reuse the channel is same host?
                    requestSender.sendNextRequest(redirectRequest, future);
View Full Code Here

Examples of org.codehaus.groovy.control.customizers.ImportCustomizer.call()

      // Additional auto configuration
      for (CompilerAutoConfiguration autoConfiguration : GroovyCompiler.this.compilerAutoConfigurations) {
        if (autoConfiguration.matches(classNode)) {
          if (GroovyCompiler.this.configuration.isGuessImports()) {
            autoConfiguration.applyImports(importCustomizer);
            importCustomizer.call(source, context, classNode);
          }
          if (classNode.equals(mainClassNode)) {
            autoConfiguration.applyToMainClass(GroovyCompiler.this.loader,
                GroovyCompiler.this.configuration, context, source,
                classNode);
View Full Code Here

Examples of org.codehaus.groovy.runtime.callsite.BooleanClosureWrapper.call()

        private void prepare() {
            BooleanClosureWrapper bcw = new BooleanClosureWrapper(condition);
            while (delegate.hasNext()) {
                E next = delegate.next();
                if (!bcw.call(next)) {
                    buffer = next;
                    buffering = true;
                    break;
                }
            }
View Full Code Here

Examples of org.codehaus.groovy.runtime.callsite.CallSite.call()

* @author Kohsuke Kawaguchi
*/
public class DefaultInvoker implements Invoker {
    public Object methodCall(Object receiver, String method, Object[] args) throws Throwable {
        CallSite callSite = fakeCallSite(method);
        Object v = callSite.call(receiver,args);
        return v;
    }

    public Object constructorCall(Class lhs, Object[] args) throws Throwable {
        Object v = fakeCallSite("<init>").callConstructor(lhs,args);
View Full Code Here

Examples of org.codemap.internal.DEMAlgorithm.call()

            }
        })
       
        DEMAlgorithm algorithm = new DEMAlgorithm();
        algorithm.setMap(mapInstance);
        float[][] DEM = algorithm.call();
       
        ShadeAlgorithm hsa = new ShadeAlgorithm();
        hsa.setMap(mapInstance);
        double[][] shading = hsa.call();
       
View Full Code Here

Examples of org.codemap.internal.ShadeAlgorithm.call()

        algorithm.setMap(mapInstance);
        float[][] DEM = algorithm.call();
       
        ShadeAlgorithm hsa = new ShadeAlgorithm();
        hsa.setMap(mapInstance);
        double[][] shading = hsa.call();
       
        int mapSize = mapInstance.getWidth();
        Device device = Display.getCurrent();
        background = new Image(device, mapSize, mapSize);
        GC gc = new GC(background);
View Full Code Here

Examples of org.crsh.lang.impl.groovy.closure.PipeLineClosure.call()

      if (cmd != null) {
        return new SafeCallable() {
          @Override
          public Object call() {
            PipeLineClosure closure = new PipeLineClosure(context, name, cmd);
            return closure.call((Object[])args);
          }
        };
      }
    }
    return null;
View Full Code Here

Examples of org.crsh.util.SafeCallable.call()

  public static Object invokeMethod(RuntimeContext context, String name, Object args, MissingMethodException ex) {
    if (context instanceof InvocationContext<?>) {
      SafeCallable executed = Helper.resolveMethodInvocation((InvocationContext)context, name, args);
      if (executed != null) {
        return executed.call();
      }
    }

    //
    Object o = context.getSession().get(name);
View Full Code Here

Examples of org.cspoker.server.embedded.gamecontrol.PlayingTableState.call()

    }
    Game game = gameControl.getGame();

    try {
      gameControl.allIn(game.getCurrentPlayer());
      gameControl.call(game.getCurrentPlayer());
      gameControl.call(game.getCurrentPlayer());

      gameControl.fold(game.getCurrentPlayer());
      gameControl.fold(game.getCurrentPlayer());
    } catch (IllegalActionException e) {
View Full Code Here

Examples of org.drools.guvnor.client.messages.Constants.CALL()

                                 ExecutionTrace executionTrace, ScenarioWidget scenarioWidget) {

        add(new CallMethodOnNewDataButton(previousEx, scenario, executionTrace,
                scenarioWidget));
        Constants constants = ((Constants) GWT.create(Constants.class));
        add(new SmallLabel(constants.CALL()));

    }

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