Back to index

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

List of all members.

Public Member Functions

 GetStaticFieldMessage (jni_type type, jclass clazz, jfieldID fieldID, jvalue *result)
virtual void execute (JNIEnv *env)
 GetStaticFieldMessage (jni_type type, jclass clazz, jfieldID fieldID, jvalue *result)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type type
jclass clazz
jfieldID fieldID
jvalueargs
jvalueresult

Detailed Description

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

Definition at line 926 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

GetStaticFieldMessage::GetStaticFieldMessage ( jni_type  type,
jclass  clazz,
jfieldID  fieldID,
jvalue result 
) [inline]

Definition at line 934 of file CSecureEnv.cpp.

       {
              this->type = type;
              this->clazz = clazz;
              this->fieldID = fieldID;
              this->args = args;
              this->result = result;
       }
GetStaticFieldMessage::GetStaticFieldMessage ( jni_type  type,
jclass  clazz,
jfieldID  fieldID,
jvalue result 
) [inline]

Definition at line 1149 of file CSecureEnv.cpp.

       {
              this->type = type;
              this->clazz = clazz;
              this->fieldID = fieldID;
              this->result = result;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 943 of file CSecureEnv.cpp.

       {
              switch (type) {
              case jobject_type:
                     result->l = env->GetStaticObjectField(clazz, fieldID);
                     break;
              case jboolean_type:
                     result->z = env->GetStaticBooleanField(clazz, fieldID);
                     break;
              case jbyte_type:
                     result->b = env->GetStaticByteField(clazz, fieldID);
                     break;
              case jchar_type:
                     result->c = env->GetStaticCharField(clazz, fieldID);
                     break;
              case jshort_type:
                     result->s = env->GetStaticShortField(clazz, fieldID);
                     break;
              case jint_type:
                     result->i = env->GetStaticIntField(clazz, fieldID);
                     break;
              case jlong_type:
                     result->j = env->GetStaticLongField(clazz, fieldID);
                     break;
              case jfloat_type:
                     result->f = env->GetStaticFloatField(clazz, fieldID);
                     break;
              case jdouble_type:
                     result->d = env->GetStaticDoubleField(clazz, fieldID);
                     break;
              }
       }
virtual void GetStaticFieldMessage::execute ( JNIEnv env) [inline, virtual]

Implements JavaMessage.

Definition at line 1157 of file CSecureEnv.cpp.

       {
              switch (type) {
              case jobject_type:
                     result->l = env->GetStaticObjectField(clazz, fieldID);
#if LOCAL_REFS_ARE_GLOBAL
            result->l = ToGlobalRef(env, result->l);
#endif
                     break;
              case jboolean_type:
                     result->z = env->GetStaticBooleanField(clazz, fieldID);
                     break;
              case jbyte_type:
                     result->b = env->GetStaticByteField(clazz, fieldID);
                     break;
              case jchar_type:
                     result->c = env->GetStaticCharField(clazz, fieldID);
                     break;
              case jshort_type:
                     result->s = env->GetStaticShortField(clazz, fieldID);
                     break;
              case jint_type:
                     result->i = env->GetStaticIntField(clazz, fieldID);
                     break;
              case jlong_type:
                     result->j = env->GetStaticLongField(clazz, fieldID);
                     break;
              case jfloat_type:
                     result->f = env->GetStaticFloatField(clazz, fieldID);
                     break;
              case jdouble_type:
                     result->d = env->GetStaticDoubleField(clazz, fieldID);
                     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 930 of file CSecureEnv.cpp.

Definition at line 928 of file CSecureEnv.cpp.

Definition at line 929 of file CSecureEnv.cpp.

Definition at line 931 of file CSecureEnv.cpp.

Definition at line 927 of file CSecureEnv.cpp.


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