Back to index

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

List of all members.

Public Member Functions

 CallStaticMethodMessage (jni_type type, jclass clazz, jmethodID methodID, jvalue *args, jvalue *result)
virtual void execute (JNIEnv *env)
 CallStaticMethodMessage (jni_type type, jclass clazz, jmethodID methodID, jvalue *args, jvalue *result)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type type
jclass clazz
jmethodID methodID
jvalueargs
jvalueresult

Detailed Description

=--------------------------------------------------------------------------=

Definition at line 841 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

CallStaticMethodMessage::CallStaticMethodMessage ( jni_type  type,
jclass  clazz,
jmethodID  methodID,
jvalue args,
jvalue result 
) [inline]

Definition at line 849 of file CSecureEnv.cpp.

       {
              this->type = type;
              this->clazz = clazz;
              this->methodID = methodID;
              this->args = args;
              this->result = result;
       }
CallStaticMethodMessage::CallStaticMethodMessage ( jni_type  type,
jclass  clazz,
jmethodID  methodID,
jvalue args,
jvalue result 
) [inline]

Definition at line 1060 of file CSecureEnv.cpp.

       {
              this->type = type;
              this->clazz = clazz;
              this->methodID = methodID;
              this->args = args;
              this->result = result;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 1069 of file CSecureEnv.cpp.

       {
              switch (type) {
              case jobject_type:
                     result->l = env->CallStaticObjectMethodA(clazz, methodID, args);
#if LOCAL_REFS_ARE_GLOBAL
            result->l = ToGlobalRef(env, result->l);
#endif
                     break;
              case jboolean_type:
                     result->z = env->CallStaticBooleanMethodA(clazz, methodID, args);
                     break;
              case jbyte_type:
                     result->b = env->CallStaticByteMethodA(clazz, methodID, args);
                     break;
              case jchar_type:
                     result->c = env->CallStaticCharMethodA(clazz, methodID, args);
                     break;
              case jshort_type:
                     result->s = env->CallStaticShortMethodA(clazz, methodID, args);
                     break;
              case jint_type:
                     result->i = env->CallStaticIntMethodA(clazz, methodID, args);
                     break;
              case jlong_type:
                     result->j = env->CallStaticLongMethodA(clazz, methodID, args);
                     break;
              case jfloat_type:
                     result->f = env->CallStaticFloatMethodA(clazz, methodID, args);
                     break;
              case jdouble_type:
                     result->d = env->CallStaticDoubleMethodA(clazz, methodID, args);
                     break;
              case jvoid_type:
                     env->CallStaticVoidMethodA(clazz, methodID, args);
                     break;
              }
       }

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

Definition at line 843 of file CSecureEnv.cpp.

Definition at line 844 of file CSecureEnv.cpp.

Definition at line 846 of file CSecureEnv.cpp.

Definition at line 842 of file CSecureEnv.cpp.


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