Back to index

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

List of all members.

Public Member Functions

 SetFieldMessage (jni_type type, jobject obj, jfieldID fieldID, jvalue val)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

jni_type type
jobject obj
jfieldID fieldID
jvalue val

Detailed Description

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

Definition at line 942 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

SetFieldMessage::SetFieldMessage ( jni_type  type,
jobject  obj,
jfieldID  fieldID,
jvalue  val 
) [inline]

Definition at line 948 of file CSecureEnv.cpp.

       {
              this->type = type;
              this->obj = obj;
              this->fieldID = fieldID;
              this->val = val;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 956 of file CSecureEnv.cpp.

       {
       switch (type) {
       case jobject_type:
              env->SetObjectField(obj, fieldID, val.l);
              break;
       case jboolean_type:
              env->SetBooleanField(obj, fieldID, val.z);
              break;
       case jbyte_type:
              env->SetByteField(obj, fieldID, val.b);
              break;
       case jchar_type:
              env->SetCharField(obj, fieldID, val.c);
              break;
       case jshort_type:
              env->SetShortField(obj, fieldID, val.s);
              break;
       case jint_type:
              env->SetIntField(obj, fieldID, val.i);
              break;
       case jlong_type:
              env->SetLongField(obj, fieldID, val.j);
              break;
       case jfloat_type:
              env->SetFloatField(obj, fieldID, val.f);
              break;
       case jdouble_type:
              env->SetDoubleField(obj, fieldID, val.d);
              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 945 of file CSecureEnv.cpp.

Definition at line 944 of file CSecureEnv.cpp.

Definition at line 943 of file CSecureEnv.cpp.

Definition at line 946 of file CSecureEnv.cpp.


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