Add jni interface of moc client.