Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
GetArrayElementsMessage Class Reference
Inheritance diagram for GetArrayElementsMessage:
Inheritance graph
[legend]
Collaboration diagram for GetArrayElementsMessage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GetArrayElementsMessage (jni_type element_type, jarray array, jboolean *isCopy, void *result)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type element_type
jarray array
jbooleanisCopy
voidresult

Detailed Description

Definition at line 2534 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

GetArrayElementsMessage::GetArrayElementsMessage ( jni_type  element_type,
jarray  array,
jboolean isCopy,
void result 
) [inline]

Definition at line 2540 of file CSecureEnv.cpp.

       {
              this->element_type = element_type;
              this->array = array;
              this->isCopy = isCopy;
              this->result = result;
       }

Member Function Documentation

virtual void GetArrayElementsMessage::execute ( JNIEnv env) [inline, virtual]

Implements JavaMessage.

Definition at line 2548 of file CSecureEnv.cpp.

       {
        switch (element_type) {
       case jboolean_type:
           *(jboolean**) result = env->GetBooleanArrayElements((jbooleanArray)array, isCopy);
           break;
       case jbyte_type:
           *(jbyte**) result = env->GetByteArrayElements((jbyteArray)array, isCopy);
           break;
       case jchar_type:
           *(jchar**) result = env->GetCharArrayElements((jcharArray)array, isCopy);
           break;
       case jshort_type:
           * (jshort**) result = env->GetShortArrayElements((jshortArray)array, isCopy);
           break;
       case jint_type:
           * (jint**) result = env->GetIntArrayElements((jintArray)array, isCopy);
           break;
       case jlong_type:
           * (jlong**) result = env->GetLongArrayElements((jlongArray)array, isCopy);
           break;
       case jfloat_type:
           * (jfloat**) result = env->GetFloatArrayElements((jfloatArray)array, isCopy);
           break;
       case jdouble_type:
           * (jdouble**) result = env->GetDoubleArrayElements((jdoubleArray)array, isCopy);
           break;
       default:
           *(void**)result = NULL;
       }
       }
JavaMessage* JavaMessage::getNext ( ) [inline, inherited]

Definition at line 55 of file JavaMessageQueue.h.

{ return mNext; }

Here is the caller graph for this function:

JavaMessage* JavaMessage::getNext ( ) [inline, inherited]

Definition at line 56 of file JavaMessageQueue.h.

{ return mNext; }
void JavaMessage::setNext ( JavaMessage next) [inline, inherited]

Definition at line 54 of file JavaMessageQueue.h.

{ mNext = next; }

Here is the caller graph for this function:

void JavaMessage::setNext ( JavaMessage next) [inline, inherited]

Definition at line 55 of file JavaMessageQueue.h.

{ mNext = next; }

Member Data Documentation

Definition at line 2536 of file CSecureEnv.cpp.

Definition at line 2535 of file CSecureEnv.cpp.

Definition at line 2537 of file CSecureEnv.cpp.

Definition at line 2538 of file CSecureEnv.cpp.


The documentation for this class was generated from the following file: