Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
DefineClassMessage Class Reference

To give proper "local" refs, need to run this in the Java thread. More...

Inheritance diagram for DefineClassMessage:
Inheritance graph
[legend]
Collaboration diagram for DefineClassMessage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DefineClassMessage (const char *name, jobject loader, const jbyte *buf, jsize len, jclass *clazz)
virtual void execute (JNIEnv *env)
 DefineClassMessage (const char *name, jobject loader, const jbyte *buf, jsize len, jclass *clazz)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

const char * name
jobject loader
const jbytebuf
jsize len
jclassclazz

Detailed Description

To give proper "local" refs, need to run this in the Java thread.

Definition at line 1098 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

DefineClassMessage::DefineClassMessage ( const char *  name,
jobject  loader,
const jbyte buf,
jsize  len,
jclass clazz 
) [inline]

Definition at line 1105 of file CSecureEnv.cpp.

       {
              this->name = name;
              this->loader = loader;
              this->buf = buf;
              this->len = len;
              this->clazz = clazz;
       }
DefineClassMessage::DefineClassMessage ( const char *  name,
jobject  loader,
const jbyte buf,
jsize  len,
jclass clazz 
) [inline]

Definition at line 1376 of file CSecureEnv.cpp.

       {
              this->name = name;
              this->loader = loader;
              this->buf = buf;
              this->len = len;
              this->clazz = clazz;
       }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 1114 of file CSecureEnv.cpp.

       {
       *clazz = env->DefineClass(name, loader, buf, len);
       }
virtual void DefineClassMessage::execute ( JNIEnv env) [inline, virtual]

Implements JavaMessage.

Definition at line 1385 of file CSecureEnv.cpp.

       {
       *clazz = env->DefineClass(name, loader, buf, len);
       }
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 1101 of file CSecureEnv.cpp.

Definition at line 1103 of file CSecureEnv.cpp.

Definition at line 1102 of file CSecureEnv.cpp.

Definition at line 1100 of file CSecureEnv.cpp.

const char * DefineClassMessage::name [private]

Definition at line 1099 of file CSecureEnv.cpp.


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