Examples of Call


Examples of IRTree2.CALL

    return new ExpList(func, args);
  }

  public Exp build(ExpList kids)
  {
    return new CALL(kids.head, kids.tail);
  }
View Full Code Here

Examples of aleph.thread.Call

   * @param join Stuff result object here.
   **/
  public synchronized void start(PE pe, Join join) {
    if (join != null)
      join.increment();
    Call call = new Call(join, this);
    try {
      cManager.send(pe, call);
    } catch (Exception e) {
      Aleph.panic(e);
    }
View Full Code Here

Examples of at.riemers.zero.base.controller.Call

        jWidget.element("formName", form);
       
        jWidget.element("columnCount", columnCount);
        jWidget.element("showLabelAtTop", showLabelAtTop);
        Call call = new Call("v2js_" + template+"(c." + getId() + ")", id);
        view.addCall(call);
       
    }
View Full Code Here

Examples of com.alibaba.mtc.testmodel.Call

    @Test
    public void test_MtContextCallable_inSameThread() throws Exception {
        ConcurrentMap<String, MtContextThreadLocal<String>> mtContexts = createTestMtContexts();

        Call call = new Call("1", mtContexts);
        MtContextCallable<String> mtContextCallable = MtContextCallable.<String>get(call);

        // create after new Task, won't see parent value in in task!
        MtContextThreadLocal<String> after = new MtContextThreadLocal<String>();
        after.set(PARENT_AFTER_CREATE_MTC_TASK);
View Full Code Here

Examples of com.gcrm.domain.Call

     * Saves the entity.
     *
     * @return the SUCCESS result
     */
    public String save() throws Exception {
        Call originalCall = saveEntity();
        final Collection<ChangeLog> changeLogs = changeLog(originalCall, call);
        // Validate Reminder Email Template
        if (call.isReminder_email() && reminderTemplateID == null) {
            String errorMessage = getText("error.reminderEamilTemplate");
            super.addActionError(errorMessage);
View Full Code Here

Examples of com.orange.wink.parse.objects.Call

   * @throws WinkParseException
   */
  public static void getCalls(final AstNode n, final List<Call> result) throws WinkParseException {
    final ParseObject po = ParserUtils.resolveParseObject(n, true);
    if (po instanceof Call) {
      final Call call = (Call) po;
      result.add(call);
    } else if (po instanceof Function) {
      return;
    } else {
      for (final AstNode child : n.getChilds()) {
View Full Code Here

Examples of com.orange.wink.parse.objects.Call

  /**
   * @param call
   * @throws WinkParseException
   */
  private void interpretExprResultCall(final ExprResultCall expr) throws WinkParseException {
    final Call call = expr.getCall();

    Namespace ns;
    ns = new Namespace();
    ns.appendNamespace(namespace);
    ns.appendNamespace(call.getNamespace());

    FunctionObject globalFunc;
    try {
      final ScriptObject so = resolveByNamespace(ns);
      if (!(so instanceof FunctionObject)) {
        return;
      }
      globalFunc = (FunctionObject) so;
    } catch (final WinkParseException e) {
      if (Constants.failOnUnresolvedNamespace) {
        throw new WinkParseException(ns + " not accessible in " + namespace + " - " + Ast.getPositionInfo(expr.getNode()), e);
      } else {
        System.err.println("WARN - " + ns + " not accessible in " + namespace + " - " + Ast.getPositionInfo(expr.getNode()) + " - " + e.getMessage());
        return;
      }
    }

    if (call instanceof DefineCall) {
      final Map<String, Namespace> argumentsMap = new HashMap<String, Namespace>();
      for (int i = 0; i < globalFunc.getParameters().size(); i++) {
        final String funcParam = globalFunc.getParameters().get(i);

        final Namespace nsc = new Namespace();
        nsc.addName(Constants.WINK_NAMESPACE);
        argumentsMap.put(funcParam, nsc);
      }

      final List<AstNode> childsGlobalFunc = globalFunc.getNode().getChilds();
      for (final AstNode cgf : childsGlobalFunc) {
        interpretCallSetProp(cgf, globalFunc, argumentsMap, true);
      }
    } else {
      if (globalFunc.getParameters().size() != call.getParameters().size()) {
        throw new WinkParseException("call arguments count does not match function parameter count [" + globalFunc + "]");
      }

      final Map<String, Namespace> argumentsMap = new HashMap<String, Namespace>();
      for (int i = 0; i < globalFunc.getParameters().size(); i++) {
        final String funcParam = globalFunc.getParameters().get(i);
        argumentsMap.put(funcParam, call.getParameters().get(i));
      }

      final List<AstNode> childsGlobalFunc = globalFunc.getNode().getChilds();
      for (final AstNode cgf : childsGlobalFunc) {
        interpretCallSetProp(cgf, globalFunc, argumentsMap, false);
View Full Code Here

Examples of com.skype.Call

        }
    }

    public void testCall() throws Exception {
      TestConnector.resetInstance();
        Call call = Skype.getContactList().getFriend("echo123").call();
        Thread.sleep(5000);
        call.finish();

        String result = call.getDuration() + "," + call.getId() + "," + call.getPartnerId() + "," + call.getType();
        if(isRecordingMode()) {
            System.out.println(result);
        } else {
            assertEquals("2,8345,echo123,OUTGOING_P2P", result);
        }
View Full Code Here

Examples of com.sun.enterprise.admin.util.proxy.Call

     */
    public void postInvoke(CallStack callStack) {

       
        if (callStack.getStackSize() == 1) {
            Call call = callStack.getActiveCall();
            if (call.getState().isSuccess() && isFlushNeeded(call)) {
                try {
                    ConfigContext ctx = adminContext.getAdminConfigContext();
                    if (ctx.isChanged()) {
                        ctx.flush();
                    }
View Full Code Here

Examples of com.sun.jmx.examples.scandir.ScanManagerTest.Call

            config.addDirectoryScanner("test2",tmpdir,".*",0,0);
            config.addDirectoryScanner("test3",tmpdir,".*",0,0);
            manager.applyConfiguration(true);
            final DirectoryScannerMXBean proxy =
                    manager.getDirectoryScanners().get("test1");
            final Call op = new Call() {
                public void call() throws Exception {
                    final BlockingQueue<Notification> queue =
                            new LinkedBlockingQueue<Notification>();
                    final NotificationListener listener = new NotificationListener() {
                        public void handleNotification(Notification notification,
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.