Back to index

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

List of all members.

Public Member Functions

 ToStringMessage (MRJPluginInstance *pluginInstance, jsobject js_obj, jstring *stringResult)
virtual void execute (JNIEnv *env)
 ToStringMessage (MRJPluginInstance *pluginInstance, jsobject js_obj, jstring *stringResult)
virtual void execute (JNIEnv *env)
void setNext (JavaMessage *next)
void setNext (JavaMessage *next)
JavaMessagegetNext ()
JavaMessagegetNext ()

Private Attributes

MRJPluginInstancemPluginInstance
jsobject mObject
jstringmStringResult

Detailed Description

Definition at line 897 of file LiveConnectNativeMethods.cpp.


Constructor & Destructor Documentation

ToStringMessage::ToStringMessage ( MRJPluginInstance pluginInstance,
jsobject  js_obj,
jstring stringResult 
) [inline]

Definition at line 902 of file LiveConnectNativeMethods.cpp.

        :   mPluginInstance(pluginInstance), mObject(js_obj), mStringResult(stringResult)
    {
    }
ToStringMessage::ToStringMessage ( MRJPluginInstance pluginInstance,
jsobject  js_obj,
jstring stringResult 
) [inline]

Definition at line 905 of file LiveConnectNativeMethods.cpp.

        :   mPluginInstance(pluginInstance), mObject(js_obj), mStringResult(stringResult)
    {
    }

Member Function Documentation

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

Implements JavaMessage.

Definition at line 907 of file LiveConnectNativeMethods.cpp.

    {
        MRJSecurityContext* securityContext = getSecurityContext(mPluginInstance);
        nsILiveconnect* connection = getLiveconnectInstance(securityContext);
        jstring jresult = NULL;
        nsresult status = connection->ToString(env, mObject, &jresult);
        if (status == NS_OK && jresult != NULL)
            *mStringResult = (jstring) ToGlobalRef(env, jresult);
    }

Here is the call graph for this function:

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

Implements JavaMessage.

Definition at line 910 of file LiveConnectNativeMethods.cpp.

    {
        MRJSecurityContext* securityContext = getSecurityContext(mPluginInstance);
        nsILiveconnect* connection = getLiveconnectInstance(securityContext);
        jstring jresult = NULL;
        nsresult status = connection->ToString(env, mObject, &jresult);
        if (status == NS_OK && jresult != NULL)
            *mStringResult = (jstring) ToGlobalRef(env, jresult);
    }

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 899 of file LiveConnectNativeMethods.cpp.

Definition at line 898 of file LiveConnectNativeMethods.cpp.

Definition at line 900 of file LiveConnectNativeMethods.cpp.


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