Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Removed jprocess_start (useless now), cached ids in jmsg_process
[simgrid.git] / src / jmsg_process.h
index 0f5c41b..ff30980 100644 (file)
@@ -53,33 +53,6 @@ void jprocess_delete_global_ref(jobject jprocess, JNIEnv * env);
  *
  */
 void jprocess_join(jobject jprocess, JNIEnv * env);
-
-/**
- * This function starts the specified java process.
- *
- * @param jprocess             The java process to start.
- * @param env                  The env of the current thread
- *
- * @exception                  If the class Process is not found the function throws 
- *                                             the ClassNotFoundException. If the methos start() of 
- *                                             this class is not found the function throws the exception 
- *                                             NotSuchMethodException. 
- */
-void jprocess_start(jobject jprocess, JNIEnv * env);
-
-/**
- * This function forces the java process to stop.
- *
- * @param jprocess             The java process to stop.
- * @param env                  The env of the current thread
- *
- * @exception                  If the class Process is not found the function throws
- *                                             the ClassNotFoundException. If the methos stop() of
- *                                             this class is not found the function throws the exception
- *                                             NotSuchMethodException.
- */
-void jprocess_exit(jobject jprocess, JNIEnv * env);
-
 /**
  * This function associated a native process to a java process instance.
  *
@@ -236,7 +209,7 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_waitFor
  * Signature   (Lsimgrid/msg/Process;)V
  */
 JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_kill
-    (JNIEnv *, jclass, jobject);
+    (JNIEnv *, jobject);
 
 /*
  * Class               org_simgrid_msg_Process