Beispiel #1
0
void CAEDRCoreJniInit(JNIEnv *env, JavaVM *jvm)
{
    OIC_LOG(DEBUG, TAG, "CAEdrClientJniInit");
    g_jvm = jvm;

    CAEDRServerJniInit(env, jvm);
}
Beispiel #2
0
CAResult_t CAEDRServerInitialize(ca_thread_pool_t handle)
{
    OIC_LOG(DEBUG, TAG, "CAEDRServerInitialize");
    VERIFY_NON_NULL(handle, TAG, "handle is NULL");

    g_threadPoolHandle = handle;
    CAEDRServerJniInit();

    return CAEDRServerCreateMutex();
}