sbDownloadSession Class Reference

#include <DownloadDevice.h>

Inheritance diagram for sbDownloadSession:
[legend]
Collaboration diagram for sbDownloadSession:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIWEBPROGRESSLISTENER
NS_DECL_NSITIMERCALLBACK 
sbDownloadSession (sbDownloadDevice *pDownloadDevice, sbIMediaItem *pMediaItem)
 
virtual ~sbDownloadSession ()
 
nsresult Initiate ()
 
nsresult Suspend ()
 
nsresult Resume ()
 
void Shutdown ()
 
PRBool IsSuspended ()
 

Public Attributes

nsCOMPtr< sbIMediaItemmpMediaItem
 
nsString mSrcURISpec
 
nsString mDstURISpec
 

Detailed Description

Definition at line 286 of file DownloadDevice.h.

Constructor & Destructor Documentation

sbDownloadSession::sbDownloadSession ( sbDownloadDevice pDownloadDevice,
sbIMediaItem pMediaItem 
)

Definition at line 2635 of file DownloadDevice.cpp.

sbDownloadSession::~sbDownloadSession ( )
virtual

Definition at line 2657 of file DownloadDevice.cpp.

Here is the call graph for this function:

Member Function Documentation

nsresult sbDownloadSession::Initiate ( )

Definition at line 2675 of file DownloadDevice.cpp.

PRBool sbDownloadSession::IsSuspended ( )

Definition at line 3036 of file DownloadDevice.cpp.

nsresult sbDownloadSession::Resume ( )

Definition at line 2944 of file DownloadDevice.cpp.

void sbDownloadSession::Shutdown ( )

Definition at line 2989 of file DownloadDevice.cpp.

Here is the caller graph for this function:

nsresult sbDownloadSession::Suspend ( )

Definition at line 2888 of file DownloadDevice.cpp.

Member Data Documentation

nsString sbDownloadSession::mDstURISpec

Definition at line 304 of file DownloadDevice.h.

nsCOMPtr<sbIMediaItem> sbDownloadSession::mpMediaItem

Definition at line 302 of file DownloadDevice.h.

nsString sbDownloadSession::mSrcURISpec

Definition at line 303 of file DownloadDevice.h.


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