Back to index

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

List of all members.

Public Member Functions

 ReleaseArrayElementsMessage (jni_type element_type, jarray array, void *elems, jint mode)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type element_type
jarray array
voidelems
jint mode

Detailed Description

Definition at line 2628 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

ReleaseArrayElementsMessage::ReleaseArrayElementsMessage ( jni_type  element_type,
jarray  array,
void elems,
jint  mode 
) [inline]

Definition at line 2634 of file CSecureEnv.cpp.

       {
              this->element_type = element_type;
              this->array = array;
              this->elems = elems;
              this->mode = mode;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 2642 of file CSecureEnv.cpp.

       {
       switch (element_type) {
       case jboolean_type:
              env->ReleaseBooleanArrayElements((jbooleanArray)array, (jboolean*)elems, mode);
              break;
       case jbyte_type:
              env->ReleaseByteArrayElements((jbyteArray)array, (jbyte*)elems, mode);
              break;
       case jchar_type:
              env->ReleaseCharArrayElements((jcharArray)array, (jchar*)elems, mode);
              break;
       case jshort_type:
              env->ReleaseShortArrayElements((jshortArray)array, (jshort*)elems, mode);
              break;
       case jint_type:
              env->ReleaseIntArrayElements((jintArray)array, (jint*)elems, mode);
              break;
       case jlong_type:
              env->ReleaseLongArrayElements((jlongArray)array, (jlong*)elems, mode);
              break;
       case jfloat_type:
              env->ReleaseFloatArrayElements((jfloatArray)array, (jfloat*)elems, mode);
              break;
       case jdouble_type:
              env->ReleaseDoubleArrayElements((jdoubleArray)array, (jdouble*)elems, mode);
              break;
       }
       }
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 2630 of file CSecureEnv.cpp.

Definition at line 2629 of file CSecureEnv.cpp.

Definition at line 2631 of file CSecureEnv.cpp.

Definition at line 2632 of file CSecureEnv.cpp.


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