Back to index

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

#include <ipcm.h>

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

List of all members.

Public Member Functions

 ipcmMessageResult (PRUint32 requestIndex, PRInt32 status)
PRInt32 Status () const
PRUint32 First () const
PRUint32 Second () const
PRUint32 Third () const
 NS_HIDDEN_ (void) Reset()
 NS_HIDDEN_ (ipcMessage *) Clone() const
 NS_HIDDEN_ (PRStatus) Init(const nsID &target
 NS_HIDDEN_ (PRStatus) SetData(PRUint32 offset
 NS_HIDDEN_ (PRBool) Equals(const nsID &target
 NS_HIDDEN_ (PRBool) Equals(const ipcMessage *msg) const
 NS_HIDDEN_ (PRStatus) WriteTo(char *buf
 NS_HIDDEN_ (PRStatus) ReadFrom(const char *buf
void SetFlag (PRUint16 flag)
void ClearFlag (PRUint16 flag)
PRBool TestFlag (PRUint16 flag) const
PRBool IsComplete () const
const ipcMessageHeaderHeader () const
const nsIDTarget () const
const char * Data () const
PRUint32 DataLen () const
const char * MsgBuf () const
PRUint32 MsgLen () const

Public Attributes

const char * data
const char PRUint32 dataLen
const char PRUint32 dataLen const
PRUint32 bufLen
PRUint32 PRUint32bytesWritten
PRUint32 PRUint32 PRBoolcomplete
PRUint32 PRUint32bytesRead
class ipcMessagemNext
PRUint32 mMetaData

Detailed Description

Definition at line 456 of file ipcm.h.


Constructor & Destructor Documentation

ipcmMessageResult::ipcmMessageResult ( PRUint32  requestIndex,
PRInt32  status 
) [inline]

Definition at line 459 of file ipcm.h.


Member Function Documentation

void ipcMessage::ClearFlag ( PRUint16  flag) [inline, inherited]

Definition at line 139 of file ipcMessage.h.

{ mMsgHdr->mFlags &= ~flag; }
const char* ipcMessage::Data ( ) const [inline, inherited]

Definition at line 153 of file ipcMessage.h.

{ return (char *) mMsgHdr + IPC_MSG_HEADER_SIZE; }

Here is the caller graph for this function:

PRUint32 ipcMessage::DataLen ( ) const [inline, inherited]

Definition at line 154 of file ipcMessage.h.

Here is the caller graph for this function:

PRUint32 ipcMessage_DWORD_DWORD_DWORD::First ( ) const [inline, inherited]

Definition at line 86 of file ipcMessagePrimitives.h.

    {
        return ((PRUint32 *) Data())[0];
    }

Here is the call graph for this function:

const ipcMessageHeader* ipcMessage::Header ( ) const [inline, inherited]

Definition at line 151 of file ipcMessage.h.

{ return mMsgHdr; }
PRBool ipcMessage::IsComplete ( ) const [inline, inherited]

Definition at line 146 of file ipcMessage.h.

{ return mMsgComplete; }
const char* ipcMessage::MsgBuf ( ) const [inline, inherited]

Definition at line 155 of file ipcMessage.h.

{ return (char *) mMsgHdr; }

Here is the caller graph for this function:

PRUint32 ipcMessage::MsgLen ( ) const [inline, inherited]

Definition at line 156 of file ipcMessage.h.

{ return mMsgHdr->mLen; }

Here is the caller graph for this function:

ipcMessage::NS_HIDDEN_ ( void  ) [inherited]

Reimplemented in ipcmMessageForward.

ipcMessage::NS_HIDDEN_ ( ipcMessage ) const [inherited]
ipcMessage::NS_HIDDEN_ ( PRStatus  ) const [inherited]
ipcMessage::NS_HIDDEN_ ( PRStatus  ) [inherited]
ipcMessage::NS_HIDDEN_ ( PRBool  ) const [inherited]
ipcMessage::NS_HIDDEN_ ( PRBool  ) const [inherited]
ipcMessage::NS_HIDDEN_ ( PRStatus  ) [inherited]
ipcMessage::NS_HIDDEN_ ( PRStatus  ) const [inherited]
PRUint32 ipcMessage_DWORD_DWORD_DWORD::Second ( ) const [inline, inherited]

Definition at line 91 of file ipcMessagePrimitives.h.

    {
        return ((PRUint32 *) Data())[1];
    }

Here is the call graph for this function:

void ipcMessage::SetFlag ( PRUint16  flag) [inline, inherited]

Definition at line 138 of file ipcMessage.h.

{ mMsgHdr->mFlags |= flag; }

Here is the caller graph for this function:

PRInt32 ipcmMessageResult::Status ( ) const [inline]

Definition at line 466 of file ipcm.h.

{ return (PRInt32) Third(); }

Here is the caller graph for this function:

const nsID& ipcMessage::Target ( ) const [inline, inherited]

Reimplemented in ipcmMessageClientDelTarget, and ipcmMessageClientAddTarget.

Definition at line 152 of file ipcMessage.h.

{ return mMsgHdr->mTarget; }

Here is the caller graph for this function:

PRBool ipcMessage::TestFlag ( PRUint16  flag) const [inline, inherited]

Definition at line 140 of file ipcMessage.h.

{ return mMsgHdr->mFlags & flag; }

Here is the caller graph for this function:

PRUint32 ipcMessage_DWORD_DWORD_DWORD::Third ( ) const [inline, inherited]

Definition at line 96 of file ipcMessagePrimitives.h.

    {
        return ((PRUint32 *) Data())[2];
    }

Here is the call graph for this function:


Member Data Documentation

Definition at line 174 of file ipcMessage.h.

Definition at line 183 of file ipcMessage.h.

Definition at line 174 of file ipcMessage.h.

Definition at line 174 of file ipcMessage.h.

Definition at line 166 of file ipcMessage.h.

const char * ipcMessage::data [inherited]

Reimplemented in ipcmMessageForward.

Definition at line 122 of file ipcMessage.h.

Reimplemented in ipcmMessageForward.

Definition at line 122 of file ipcMessage.h.

Definition at line 197 of file ipcMessage.h.

class ipcMessage* ipcMessage::mNext [inherited]

Definition at line 190 of file ipcMessage.h.


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