Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bug fix.
[simgrid.git] / src / java / jmsg_channel.h
1 /*
2  * $Id$
3  *
4  * Copyright 2006,2007 Martin Quinson, Malek Cherier All right reserved. 
5  *
6  * This program is free software; you can redistribute it and/or modify it 
7  * under the terms of the license (GNU LGPL) which comes with this package.
8  *
9  * This contains the declarations of the functions in relation with the java
10  * channel instance.
11  */
12
13 #ifndef MSG_JCHANNEL_H
14 #define MSG_JCHANNEL_H
15
16 #include <jni.h>
17
18 /**
19  * This function returns the id of a java channel instance.
20  *
21  * @param jchannel              The channel to get the id.
22  * @param env                   The environment of the current thread.
23  *
24  * @return                              The id of the channel.
25  */
26 jint
27 jchannel_get_id(jobject jchannel,JNIEnv* env);
28
29 #endif /* !MSG_JCHANNEL_H */