Codemesh Runtime v3 C++ API Reference
3.9.205
|
5 #ifndef IPv4Sockets_JNIEnv_inc
6 #define IPv4Sockets_JNIEnv_inc
12 #if (XMOG_IMPLEMENTS_REMOTE_CLIENT==1)
15 #include "xmog_JNIEnv.h"
37 jint getThreadID (
void)
const {
return this->assigned_thread_id_; }
42 jint
getMemberId( jclass classId,
const char * name,
const char * sig )
const;
73 jint assigned_thread_id_;
81 static JNINativeInterface_ theFunctions;
xmog_JNIEnv(xmog_JavaVM *jvm)
A constructor that associates the env with a jvm.
A helper type used to convey remote Java arguments around.
Definition: xmog_java_value.h:20
A JavaVM type that uses IPv4 sockets to communicate with an out-of-process JVM.
Definition: IPv4Sockets_JavaVM.h:47
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.
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.
The baseclass for all proxy types in the framework.
Definition: xmog_base.h:29
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 wh...
A JNIEnv type that uses IPv4 sockets to communicate with an out-of-process JVM.
Definition: IPv4Sockets_JNIEnv.h:26
An abstract baseclass for concrete JNIEnv implementations.
Definition: xmog_JNIEnv.h:26
jint getMemberId(jclass classId, const char *name, const char *sig) const
Returns the server-asigned member ID of a class element.
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.