Back to index

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

List of all members.

Public Member Functions

 NewArrayMessage (jni_type element_type, jsize len, jarray *result)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type element_type
jsize len
jarrayresult

Detailed Description

Definition at line 2441 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

NewArrayMessage::NewArrayMessage ( jni_type  element_type,
jsize  len,
jarray result 
) [inline]

Definition at line 2446 of file CSecureEnv.cpp.

       {
              this->element_type = element_type;
              this->len = len;
              this->result = result;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 2453 of file CSecureEnv.cpp.

       {
        switch (element_type) {
        case jboolean_type:
            *result = env->NewBooleanArray(len);
            break;
        case jbyte_type:
            *result = env->NewByteArray(len);
            break;
        case jchar_type:
            *result = env->NewCharArray(len);
            break;
        case jshort_type:
            *result = env->NewShortArray(len);
            break;
        case jint_type:
            *result = env->NewIntArray(len);
            break;
        case jlong_type:
            *result = env->NewLongArray(len);
            break;
        case jfloat_type:
            *result = env->NewFloatArray(len);
            break;
        case jdouble_type:
            *result = env->NewDoubleArray(len);
            break;
        default:
            *result = NULL;
        }
#if LOCAL_REFS_ARE_GLOBAL
        *result = (jarray) ToGlobalRef(env, *result);
#endif
       }

Here is the call graph for this function:

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 2442 of file CSecureEnv.cpp.

Definition at line 2443 of file CSecureEnv.cpp.

Definition at line 2444 of file CSecureEnv.cpp.


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