$msg_initialization
// send message:
+ if (CLIB_DEBUG > 1)
+ clib_warning ("Sending ${field_name} event message");
vl_msg_api_send_shmem (plugin_main->vl_input_queue, (u8 *)&mp);
if ((*env)->ExceptionCheck(env)) {
return JNI_ERR;
jthrowable exc;
$err_handler
+ if (CLIB_DEBUG > 1)
+ clib_warning ("Received ${handler_name} event message");
+
jmethodID constructor = (*env)->GetMethodID(env, ${class_ref_name}Class, "<init>", "()V");
// User does not have to provide callbacks for all VPP messages.