Back to index

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

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIURLLISTENER
NS_DECL_NSISTREAMLISTENER
NS_DECL_NSIREQUESTOBSERVER 
nsMsgTemplateReplyHelper ()
 ~nsMsgTemplateReplyHelper ()
void onDataAvailable (in nsIRequest aRequest, in nsISupports aContext, in nsIInputStream aInputStream, in unsigned long aOffset, in unsigned long aCount)
 Called when the next chunk of data (corresponding to the request) may be read without blocking the calling thread.
void onStartRequest (in nsIRequest aRequest, in nsISupports aContext)
 Called to signify the beginning of an asynchronous request.
void onStopRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode)
 Called to signify the end of an asynchronous request.
void OnStartRunningUrl (in nsIURI url)
void OnStopRunningUrl (in nsIURI url, in nsresult aExitCode)

Public Attributes

nsCOMPtr< nsIMsgDBHdrmHdrToReplyTo
nsCOMPtr< nsIMsgDBHdrmTemplateHdr
nsCOMPtr< nsIMsgWindowmMsgWindow
nsCOMPtr< nsIMsgIncomingServermServer
nsCString mTemplateBody
PRBool mInMsgBody
char mLastBlockChars [3]

Detailed Description

Definition at line 848 of file nsMsgComposeService.cpp.


Constructor & Destructor Documentation

Definition at line 870 of file nsMsgComposeService.cpp.

Here is the call graph for this function:

Definition at line 876 of file nsMsgComposeService.cpp.

{
}

Member Function Documentation

void nsIStreamListener::onDataAvailable ( in nsIRequest  aRequest,
in nsISupports  aContext,
in nsIInputStream  aInputStream,
in unsigned long  aOffset,
in unsigned long  aCount 
) [inherited]

Called when the next chunk of data (corresponding to the request) may be read without blocking the calling thread.

The onDataAvailable impl must read exactly |aCount| bytes of data before returning.

Parameters:
aRequestrequest corresponding to the source of the data
aContextuser defined context
aInputStreaminput stream containing the data chunk
aOffsetNumber of bytes that were sent in previous onDataAvailable calls for this request. In other words, the sum of all previous count parameters. If that number is greater than or equal to 2^32, this parameter will be PR_UINT32_MAX (2^32 - 1).
aCountnumber of bytes available in the stream

NOTE: The aInputStream parameter must implement readSegments.

An exception thrown from onDataAvailable has the side-effect of causing the request to be canceled.

void nsIRequestObserver::onStartRequest ( in nsIRequest  aRequest,
in nsISupports  aContext 
) [inherited]

Called to signify the beginning of an asynchronous request.

Parameters:
aRequestrequest being observed
aContextuser defined context

An exception thrown from onStartRequest has the side-effect of causing the request to be canceled.

Here is the caller graph for this function:

Here is the caller graph for this function:

void nsIRequestObserver::onStopRequest ( in nsIRequest  aRequest,
in nsISupports  aContext,
in nsresult  aStatusCode 
) [inherited]

Called to signify the end of an asynchronous request.

This call is always preceded by a call to onStartRequest.

Parameters:
aRequestrequest being observed
aContextuser defined context
aStatusCodereason for stopping (NS_OK if completed successfully)

An exception thrown from onStopRequest is generally ignored.

Here is the caller graph for this function:

void nsIUrlListener::OnStopRunningUrl ( in nsIURI  url,
in nsresult  aExitCode 
) [inherited]

Here is the caller graph for this function:


Member Data Documentation

Definition at line 859 of file nsMsgComposeService.cpp.

Definition at line 864 of file nsMsgComposeService.cpp.

Definition at line 865 of file nsMsgComposeService.cpp.

Definition at line 861 of file nsMsgComposeService.cpp.

Definition at line 862 of file nsMsgComposeService.cpp.

Definition at line 863 of file nsMsgComposeService.cpp.

Definition at line 860 of file nsMsgComposeService.cpp.


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