Codemesh Runtime v3 C++ API Reference
3.9.205
|
A JNIEnv type that uses IPv4 sockets to communicate with an out-of-process JVM. More...
#include <IPv4Sockets_JNIEnv.h>
Public Member Functions | |
IPv4Sockets_JNIEnv (IPv4Sockets_JavaVM *ipv4_jvm) | |
Constructor that establishes the IPv4Sockets_JavaVM that. More... | |
void | setThreadID (jint assigned_id) |
Set the ID by which the remote JVM knows this thread. The ID is obtained via the THREAD_ID_REQUEST when attaching. | |
jint | getThreadID (void) const |
jint | getMemberId (jclass classId, const char *name, const char *sig) const |
Returns the server-asigned member ID of a class element. | |
int | getFieldValue (xmog_remote_java_value &result, jclass classId, xmog_base *target, jfieldID fid) |
Returns the value of a field. | |
int | setFieldValue (jclass classId, xmog_base *target, jfieldID fid, const xmog_remote_java_value &val) |
Sets the value of a field. | |
int | callMethod (xmog_remote_java_value &result, jclass classId, xmog_base *target, jmethodID mid, int numArgs, const xmog_remote_java_value *args, bool bIsCtor=false, bool bLimitRetValCopying=false) |
Calls a method. | |
![]() | |
xmog_JNIEnv (xmog_JavaVM *jvm) | |
A constructor that associates the env with a jvm. | |
~xmog_JNIEnv () | |
Destructor. | |
void | set_localenv (xmog_localenv *env) |
Sets the higher-level abstraction that owns this instance into this instance. | |
xmog_localenv * | get_localenv () const |
Returns the higher-level abstraction that owns this instance. | |
xmog_JavaVM * | get_jvm () const |
Returns the jvm to which this instance belongs. | |
void | set_throwable (const xmog_remote_java_exception &t) |
Sets a Throwable into the instance. | |
const xmog_remote_java_exception & | get_throwable () const |
Returns a Throwable that has been set into the instance. | |
const xmog_remote_java_exception & | get_previous_throwable () const |
Returns a Throwable that was set into the instance but then cleared. | |
A JNIEnv type that uses IPv4 sockets to communicate with an out-of-process JVM.
IPv4Sockets_JNIEnv::IPv4Sockets_JNIEnv | ( | IPv4Sockets_JavaVM * | ipv4_jvm | ) |
Constructor that establishes the IPv4Sockets_JavaVM that.
controls message sending to the shared JVM.