Package com.kurento.kmf.common

Examples of com.kurento.kmf.common.Address


      log.info(
          "Creating JsonRpcClient with Thrift transport. Prefix: {}",
          prefix);

      Address kmsAddress = getThriftKmsAddress(prefix);
      Address kmfAddress = getThriftKmfAddress(prefix);

      log.info("kmsThriftAddress: {} and kmfThriftAddress: {}",
          kmsAddress, kmfAddress);

      client = new JsonRpcClientThrift(kmsAddress.getHost(),
          kmsAddress.getPort(), kmfAddress.getHost(),
          kmfAddress.getPort());

      break;

    case KMF_TRANSPORT_WS_VALUE:
View Full Code Here


  public JsonRpcServerRabbitMq(JsonRpcHandler<?> handler) {
    this(new JsonRpcClientLocal(handler));
  }

  public JsonRpcServerRabbitMq(JsonRpcClient client) {
    this(client, new Address("127.0.0.1", 5672));
  }
View Full Code Here

              + " not yet implemented", message);
    }
  };

  public JsonRpcClientRabbitMq() {
    this(new Address("127.0.0.1", 5672));
  }
View Full Code Here

    this.num = num;
  }

  public void start() {

    Address thriftKmfAddress = KmfMediaApiProperties.getThriftKmfAddress();
    thriftKmfAddress.setPort(thriftKmfAddress.getPort() + num);

    mediaServerBroker = new RabbitMqConnectorManager(
        KmfMediaApiProperties.getThriftKmsAddress(), thriftKmfAddress,
        KmfMediaApiProperties.getRabbitMqAddress());
View Full Code Here

TOP

Related Classes of com.kurento.kmf.common.Address

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.