Back to index

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

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

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

List of all members.

Public Member Functions

 NewStringMessage (const jchar *unicode, jsize len, jstring *result)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

const jcharunicode
jsize len
jstringresult

Detailed Description

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

Definition at line 2018 of file CSecureEnv.cpp.


Constructor & Destructor Documentation

NewStringMessage::NewStringMessage ( const jchar unicode,
jsize  len,
jstring result 
) [inline]

Definition at line 2023 of file CSecureEnv.cpp.

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

Member Function Documentation

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

Implements JavaMessage.

Definition at line 2030 of file CSecureEnv.cpp.

       {
       *result = env->NewString(unicode, len);
#if LOCAL_REFS_ARE_GLOBAL
        *result = (jstring) 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 2020 of file CSecureEnv.cpp.

Definition at line 2021 of file CSecureEnv.cpp.

Definition at line 2019 of file CSecureEnv.cpp.


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