Examples of Iface


Examples of AGEval.IFace

//////
    AGEval.Class TopBox = g.classTable.get("TopBox");
    AGEval.Class VBox = g.classTable.get("VBox");
    AGEval.Class LeafBox = g.classTable.get("LeafBox");
   
    IFace Node = g.interfaceTable.get("Node");
   
//////   

  // External Input to Grammar ---------------------------------------------------------------------------
        AleSimulatorNode AleTop = new AleSimulatorNode(TopBox);
View Full Code Here

Examples of com.kurento.kms.thrift.api.KmsMediaHandlerService.Iface

        internalSendRequestThrift(request, resultClass, continuation);
      }
    };

    final Processor<Iface> clientProcessor = new Processor<Iface>(
        new Iface() {
          @Override
          public void eventJsonRpc(String request) throws TException {

            try {
View Full Code Here

Examples of com.kurento.kms.thrift.api.KmsMediaServerService.Iface

    this.paramsClass = JsonRpcHandlerManager.getParamsType(handler
        .getHandlerType());

    log.info("Starting JsonRpcServer on {}", inetSocketAddress);

    Processor<Iface> serverProcessor = new Processor<Iface>(new Iface() {

      @Override
      public String invokeJsonRpc(final String requestStr)
          throws TException {
View Full Code Here

Examples of org.apache.accumulo.core.tabletserver.thrift.MutationLogger.Iface

      final List<String> files = serverFiles.getValue();
      threadPool.submit(new Runnable() {
        @Override
        public void run() {
          try {
            Iface logger = ThriftUtil.getClient(new MutationLogger.Client.Factory(), server, Property.LOGGER_PORT, Property.TSERV_LOGGER_TIMEOUT,
                ServerConfiguration.getSystemConfiguration());
            try {
              count.addAndGet(files.size());
              log.debug(String.format("removing %d files from %s", files.size(), server));
              if (files.size() > 0) {
                log.debug("deleting files on logger " + server);
                for (String file : files) {
                  log.debug("Deleting " + file);
                }
                logger.remove(null, SecurityConstants.getSystemCredentials(), files);
                synchronized (status.currentLog) {
                  status.currentLog.deleted += files.size();
                }
              }
            } finally {
View Full Code Here

Examples of org.apache.accumulo.core.tabletserver.thrift.MutationLogger.Iface

      String address = "no-data";
      count++;
      try {
        byte[] data = zk.getData(loggersDir + "/" + server, null);
        address = new String(data);
        Iface logger = ThriftUtil.getClient(new MutationLogger.Client.Factory(), address, Property.LOGGER_PORT, Property.TSERV_LOGGER_TIMEOUT,
            ServerConfiguration.getSystemConfiguration());
        for (String log : logger.getClosedLogs(null, SecurityConstants.getSystemCredentials())) {
          fileToServerMap.put(log, address);
        }
        ThriftUtil.returnClient(logger);
      } catch (TException err) {
        log.warn("Ignoring exception talking to logger " + address);
View Full Code Here

Examples of org.apache.accumulo.core.tabletserver.thrift.TabletClientService.Iface

    ThriftUtil.returnClient(client);
  }
 
  private int startTabletClientService() throws UnknownHostException {
    // start listening for client connection last
    Iface tch = TraceWrap.service(new ThriftClientHandler());
    Processor<Iface> processor = new Processor<Iface>(tch);
    int port = startServer(getSystemConfiguration(), Property.TSERV_CLIENTPORT, processor, "Thrift Client Server");
    log.info("port = " + port);
    return port;
  }
View Full Code Here

Examples of org.apache.accumulo.core.tabletserver.thrift.TabletClientService.Iface

    ThriftUtil.returnClient(client);
  }
 
  private int startTabletClientService() throws UnknownHostException {
    // start listening for client connection last
    Iface tch = TraceWrap.service(new ThriftClientHandler());
    Processor<Iface> processor = new Processor<Iface>(tch);
    int port = startServer(getSystemConfiguration(), Property.TSERV_CLIENTPORT, processor, "Thrift Client Server");
    log.info("port = " + port);
    return port;
  }
View Full Code Here

Examples of org.apache.accumulo.core.tabletserver.thrift.TabletClientService.Iface

    ThriftUtil.returnClient(client);
  }

  private HostAndPort startTabletClientService() throws UnknownHostException {
    // start listening for client connection last
    Iface tch = RpcWrapper.service(new ThriftClientHandler());
    Processor<Iface> processor = new Processor<Iface>(tch);
    HostAndPort address = startServer(getSystemConfiguration(), clientAddress.getHostText(), Property.TSERV_CLIENTPORT, processor, "Thrift Client Server");
    log.info("address = " + address);
    return address;
  }
View Full Code Here

Examples of org.apache.aurora.gen.AuroraAdmin.Iface

    JobConfiguration job = new JobConfiguration();
    SessionKey session = new SessionKey();

    control.replay();

    Iface thrift = getIface(ImmutableMap.of("createJob", false));
    assertEquals(ResponseCode.ERROR, thrift.createJob(job, null, session).getResponseCode());
  }
View Full Code Here

Examples of org.apache.aurora.gen.AuroraAdmin.Iface

    Response response = new Response();
    expect(mockThrift.createJob(job, null, SESSION_KEY)).andReturn(response);

    control.replay();

    Iface thrift = getIface(toggledMethods);
    assertSame(response, thrift.createJob(job, null, SESSION_KEY));
  }
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.