CPosterAo Class Reference

#include <up_poster_epoc.hpp>

Inheritance diagram for CPosterAo:
CBase

List of all members.

Public Member Functions

 ~CPosterAo ()
void PostFileL (const TDesC8 &aUri, const TDesC &aFileName)
TBool IsActive () const

Private Types

enum  TState { EReady = 0, EActive, EDone }

Private Member Functions

 DEF_SESSION (RSocketServ, iSocketServ)
 DEF_SESSION (RConnection, iConnection)
 DEF_SESSION (RHTTPSession, iHttpSession)
 DEF_SESSION (RHTTPTransaction, iHttpTransaction)
void MHFRunL (RHTTPTransaction aTransaction, const THTTPEvent &aEvent)
TInt MHFRunError (TInt aError, RHTTPTransaction aTransaction, const THTTPEvent &aEvent)
void PostComplete (TInt errCode)
void SetHeaderL (RHTTPHeaders aHeaders, TInt aHdrField, const TDesC8 &aHdrValue)
void SetBoundary (const TDesC8 &aBoundary)
void PostGenericL (const TDesC8 &aUri, MDataSupplier &aDataSupplier)

Private Attributes

 CTOR_DECL_CPosterAo
TState iState
MPosterObserveriObserver
TUint32 iIapId
TInt iHttpStatus
CFileDataSupplieriFileDataSupplier
TBuf8< KMultiPartBoundaryMaxLen > iBoundary

Detailed Description

Definition at line 111 of file up_poster_epoc.hpp.


Member Enumeration Documentation

enum CPosterAo::TState [private]
Enumerator:
EReady 
EActive 
EDone 

Definition at line 118 of file up_poster_epoc.hpp.


Constructor & Destructor Documentation

CPosterAo::~CPosterAo (  ) 

Definition at line 47 of file up_poster_epoc.cpp.

References iFileDataSupplier, and SESSION_CLOSE_IF_OPEN.


Member Function Documentation

CPosterAo::DEF_SESSION ( RHTTPTransaction  ,
iHttpTransaction   
) [private]
CPosterAo::DEF_SESSION ( RHTTPSession  ,
iHttpSession   
) [private]
CPosterAo::DEF_SESSION ( RConnection  ,
iConnection   
) [private]
CPosterAo::DEF_SESSION ( RSocketServ  ,
iSocketServ   
) [private]
TBool CPosterAo::IsActive (  )  const [inline]

Definition at line 141 of file up_poster_epoc.hpp.

Referenced by CUploader::PosterAoIsActive().

TInt CPosterAo::MHFRunError ( TInt  aError,
RHTTPTransaction  aTransaction,
const THTTPEvent &  aEvent 
) [private]

Definition at line 260 of file up_poster_epoc.cpp.

References logg, and PostComplete().

void CPosterAo::MHFRunL ( RHTTPTransaction  aTransaction,
const THTTPEvent &  aEvent 
) [private]
void CPosterAo::PostComplete ( TInt  errCode  )  [private]
void CPosterAo::PostFileL ( const TDesC8 &  aUri,
const TDesC &  aFileName 
)
void CPosterAo::PostGenericL ( const TDesC8 &  aUri,
MDataSupplier aDataSupplier 
) [private]
void CPosterAo::SetBoundary ( const TDesC8 &  aBoundary  )  [inline, private]

Definition at line 156 of file up_poster_epoc.hpp.

Referenced by PostFileL().

void CPosterAo::SetHeaderL ( RHTTPHeaders  aHeaders,
TInt  aHdrField,
const TDesC8 &  aHdrValue 
) [private]

Definition at line 61 of file up_poster_epoc.cpp.

Referenced by PostGenericL().


Member Data Documentation

Definition at line 115 of file up_poster_epoc.hpp.

TBuf8<KMultiPartBoundaryMaxLen> CPosterAo::iBoundary [private]

Definition at line 132 of file up_poster_epoc.hpp.

Referenced by PostGenericL().

Definition at line 130 of file up_poster_epoc.hpp.

Referenced by PostComplete(), PostFileL(), and ~CPosterAo().

TInt CPosterAo::iHttpStatus [private]

Definition at line 128 of file up_poster_epoc.hpp.

Referenced by MHFRunL().

TUint32 CPosterAo::iIapId [private]

Definition at line 122 of file up_poster_epoc.hpp.

Definition at line 121 of file up_poster_epoc.hpp.

Referenced by PostComplete().

Definition at line 119 of file up_poster_epoc.hpp.

Referenced by PostComplete(), PostFileL(), and PostGenericL().


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

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:03 2011 by Doxygen 1.6.1