Package com.kurento.kmf.content.jsonrpc.result

Examples of com.kurento.kmf.content.jsonrpc.result.JsonRpcReason


    }

    JsonRpcControlEvent[] controlEvents = new JsonRpcControlEvent[10];
    for (int i = 0; i < 10; i++) {
      controlEvents[i] = new JsonRpcControlEvent("MyType" + i,
          new JsonRpcReason(34, "MyMessage" + i));
    }

    resSent = JsonRpcResponse.newPollResponse(contentEvents, controlEvents,
        9);
    json = GsonUtils.getGson().toJson(resSent);
View Full Code Here


  }

  public static JsonRpcRequestParams newTerminateRequestParams(Integer code,
      String message, String sessionId) {
    JsonRpcRequestParams params = new JsonRpcRequestParams();
    params.setReason(new JsonRpcReason(code, message));
    params.setSessionId(sessionId);
    return params;
  }
View Full Code Here

TOP

Related Classes of com.kurento.kmf.content.jsonrpc.result.JsonRpcReason

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.