--- a/Msrp/MsrpServer/inc/CMSRPWriter.h Sat Jun 12 14:30:11 2010 +0530
+++ b/Msrp/MsrpServer/inc/CMSRPWriter.h Thu Nov 25 13:59:42 2010 +0200
@@ -34,29 +34,31 @@
class CMSRPWriter : public CActive, public MMSRPWriter
{
- public:
+ public:
+
+ // Constructors and destructor
+ static MMSRPWriter* NewL(RSocket& aSocket, MMSRPWriterErrorObserver& aConnection );
+ virtual ~CMSRPWriter();
- // Constructors and destructor
- static MMSRPWriter* NewL(RSocket& aSocket, MMSRPWriterErrorObserver& aConnection );
- virtual ~CMSRPWriter();
-
- virtual void RequestSendL(MMSRPWriterObserver& aMsg);
-
- protected: // from CActive
- void DoCancel();
- void RunL();
- TInt RunError(TInt aError);
+ public: // from MMSRPWriter
+ void RequestSendL(MMSRPWriterObserver& aMsg);
+ void CancelSendingL( const MMSRPWriterObserver* aMsg );
+
+ protected: // from CActive
+ void DoCancel();
+ void RunL();
+ TInt RunError(TInt aError);
+
+ private:
+ CMSRPWriter(RSocket& aSocket, MMSRPWriterErrorObserver& aConnection);
+ void ConstructL();
+ void SendL();
- private:
- CMSRPWriter(RSocket& aSocket, MMSRPWriterErrorObserver& aConnection);
- void ConstructL();
- void SendL();
-
- private: // data
- MMSRPWriterErrorObserver& iConnection;
- RSocket& iSocket;
- RPointerArray<MMSRPWriterObserver> iSendQueue;
- TBool iWriteIssued;
+ private: // data
+ MMSRPWriterErrorObserver& iConnection;
+ RSocket& iSocket;
+ RPointerArray<MMSRPWriterObserver> iSendQueue;
+ TBool iWriteIssued;
};
#endif // CMSRPWRITER_H