Inherits MMTPExampleDpRequestProcessor.
Inherited by CMTPExampleDpVendorDefinedOp1, CMTPExampleDpVendorDefinedOp2, and CMTPRequestUnknown.
Protected Member Functions | |
| CMTPExampleDpRequestProcessor (MMTPDataProviderFramework &aFramework, MMTPConnection &aConnection, TInt aElementCount, const TMTPRequestElementInfo *aElements) | |
| virtual | ~CMTPExampleDpRequestProcessor () |
| void | SendResponseL (TMTPResponseCode aResponseCode, TInt aParameterCount=0, TUint32 *aParams=NULL) |
| void | CompleteRequestL () |
| virtual TBool | HandleRequestL (const TMTPTypeRequest &aRequest, TMTPTransactionPhase aPhase) |
| virtual void | HandleEventL (const TMTPTypeEvent &aEvent) |
| virtual void | Release () |
| virtual TBool | Match (const TMTPTypeRequest &aRequest, MMTPConnection &aConnection) const |
| virtual TBool | Match (const TMTPTypeEvent &aEvent, MMTPConnection &aConnection) const |
| virtual const TMTPTypeRequest & | Request () const |
| virtual MMTPConnection & | Connection () const |
| virtual TUint32 | SessionId () |
| virtual TBool | DoHandleResponsePhaseL () |
| virtual TBool | DoHandleCompletingPhaseL () |
| virtual void | ServiceL ()=0 |
Protected Attributes | |
| MMTPDataProviderFramework & | iFramework |
| const TMTPTypeRequest * | iRequest |
| MMTPConnection & | iConnection |
| TMTPTypeResponse | iResponse |
| TBool | iCancelled |
| TInt | iElementCount |
| const TMTPRequestElementInfo * | iElements |
| TUint32 | iSessionId |
| TUint32 | iTransactionCode |
Definition at line 126 of file cmtpexampledprequestprocessor.h.
| CMTPExampleDpRequestProcessor::CMTPExampleDpRequestProcessor | ( | MMTPDataProviderFramework & | aFramework, | |
| MMTPConnection & | aConnection, | |||
| TInt | aElementCount, | |||
| const TMTPRequestElementInfo * | aElements | |||
| ) | [protected] |
Standard c++ constructor
| aFramework | The data provider framework | |
| aConnection | The connection from which the request comes | |
| aElementCount | Number of element in the request. | |
| aElements | The element info data. |
Definition at line 48 of file cmtpexampledprequestprocessor.cpp.
| CMTPExampleDpRequestProcessor::~CMTPExampleDpRequestProcessor | ( | ) | [protected, virtual] |
Destructor
Definition at line 64 of file cmtpexampledprequestprocessor.cpp.
| void CMTPExampleDpRequestProcessor::SendResponseL | ( | TMTPResponseCode | aResponseCode, | |
| TInt | aParameterCount = 0, |
|||
| TUint32 * | aParams = NULL | |||
| ) | [protected] |
Send a response to the initiator
| aResponseCode | The response code to send | |
| aParamCount | The number of parameters | |
| aParmas | The pointer to array of parameters |
Definition at line 82 of file cmtpexampledprequestprocessor.cpp.
| void CMTPExampleDpRequestProcessor::CompleteRequestL | ( | ) | [protected] |
Signal to the framework that the current request transaction has completed
Definition at line 118 of file cmtpexampledprequestprocessor.cpp.
| TBool CMTPExampleDpRequestProcessor::HandleRequestL | ( | const TMTPTypeRequest & | aRequest, | |
| TMTPTransactionPhase | aPhase | |||
| ) | [protected, virtual] |
Handle the request
| aRequest | The request to be processed | |
| aPhase | The current transaction phase of the request |
Implements MMTPExampleDpRequestProcessor.
Definition at line 130 of file cmtpexampledprequestprocessor.cpp.
| void CMTPExampleDpRequestProcessor::HandleEventL | ( | const TMTPTypeEvent & | aEvent | ) | [protected, virtual] |
Handle the event
| aEvent | The event to be processed |
Implements MMTPExampleDpRequestProcessor.
Definition at line 240 of file cmtpexampledprequestprocessor.cpp.
| void CMTPExampleDpRequestProcessor::Release | ( | ) | [protected, virtual] |
Release (delete) this request processor
Implements MMTPExampleDpRequestProcessor.
Definition at line 70 of file cmtpexampledprequestprocessor.cpp.
| TBool CMTPExampleDpRequestProcessor::Match | ( | const TMTPTypeRequest & | aRequest, | |
| MMTPConnection & | aConnection | |||
| ) | const [protected, virtual] |
Check whether the processor can process the request
| aRequest | The request to be processed | |
| aConnection | The connection from which the request comes |
Implements MMTPExampleDpRequestProcessor.
Reimplemented in CMTPRequestUnknown.
Definition at line 230 of file cmtpexampledprequestprocessor.cpp.
| TBool CMTPExampleDpRequestProcessor::Match | ( | const TMTPTypeEvent & | aEvent, | |
| MMTPConnection & | aConnection | |||
| ) | const [protected, virtual] |
Check whether the processor can process the event
| aEvent | The event to be processed | |
| aConnection | The connection from which the request comes |
Implements MMTPExampleDpRequestProcessor.
Definition at line 208 of file cmtpexampledprequestprocessor.cpp.
| const TMTPTypeRequest & CMTPExampleDpRequestProcessor::Request | ( | ) | const [protected, virtual] |
The current active request
Implements MMTPExampleDpRequestProcessor.
Definition at line 108 of file cmtpexampledprequestprocessor.cpp.
| MMTPConnection & CMTPExampleDpRequestProcessor::Connection | ( | ) | const [protected, virtual] |
The connection from which the current request comes
Implements MMTPExampleDpRequestProcessor.
Definition at line 157 of file cmtpexampledprequestprocessor.cpp.
| TUint32 CMTPExampleDpRequestProcessor::SessionId | ( | ) | [protected, virtual] |
The Session ID from the current request
Implements MMTPExampleDpRequestProcessor.
Definition at line 166 of file cmtpexampledprequestprocessor.cpp.
| TBool CMTPExampleDpRequestProcessor::DoHandleResponsePhaseL | ( | ) | [protected, virtual] |
Handle the response phase of the current request
Definition at line 175 of file cmtpexampledprequestprocessor.cpp.
| TBool CMTPExampleDpRequestProcessor::DoHandleCompletingPhaseL | ( | ) | [protected, virtual] |
Handle the completing phase of the current request
Definition at line 186 of file cmtpexampledprequestprocessor.cpp.
1.6.2