Back to index

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

List of all members.

Public Member Functions

 GetArrayRegionMessage (jni_type element_type, jarray array, jsize start, jsize len, void *buf)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type element_type
jarray array
jsize start
jsize len
voidbuf

Detailed Description

Definition at line 2717 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

GetArrayRegionMessage::GetArrayRegionMessage ( jni_type  element_type,
jarray  array,
jsize  start,
jsize  len,
void buf 
) [inline]

Definition at line 2724 of file CSecureEnv.cpp.

       {
              this->element_type = element_type;
              this->array = array;
              this->start = start;
              this->len = len;
              this->buf = buf;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 2733 of file CSecureEnv.cpp.

       {
        switch (element_type) {
        case jboolean_type:
            env->GetBooleanArrayRegion((jbooleanArray)array, start, len, (jboolean*)buf);
            break;
        case jbyte_type:
            env->GetByteArrayRegion((jbyteArray)array, start, len, (jbyte*)buf);
            break;
        case jchar_type:
            env->GetCharArrayRegion((jcharArray)array, start, len, (jchar*)buf);
            break;
        case jshort_type:
            env->GetShortArrayRegion((jshortArray)array, start, len, (jshort*)buf);
            break;
        case jint_type:
            env->GetIntArrayRegion((jintArray)array, start, len, (jint*)buf);
            break;
        case jlong_type:
            env->GetLongArrayRegion((jlongArray)array, start, len, (jlong*)buf);
            break;
        case jfloat_type:
            env->GetFloatArrayRegion((jfloatArray)array, start, len, (jfloat*)buf);
            break;
        case jdouble_type:
            env->GetDoubleArrayRegion((jdoubleArray)array, start, len, (jdouble*)buf);
            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 2719 of file CSecureEnv.cpp.

Definition at line 2722 of file CSecureEnv.cpp.

Definition at line 2718 of file CSecureEnv.cpp.

Definition at line 2721 of file CSecureEnv.cpp.

Definition at line 2720 of file CSecureEnv.cpp.


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