diff -r 505ad3f0ce5c -r cdb720e67852 Msrp/MsrpServer/inc/MMSRPWriter.h --- a/Msrp/MsrpServer/inc/MMSRPWriter.h Sat Jun 12 14:30:11 2010 +0530 +++ b/Msrp/MsrpServer/inc/MMSRPWriter.h Thu Nov 25 13:59:42 2010 +0200 @@ -28,26 +28,37 @@ class MMSRPWriter { public: - inline virtual ~MMSRPWriter(){} + + /** + * Virtual destructor + */ + inline virtual ~MMSRPWriter(){} + /** * register for send service - * also triggers writer start, inactive on nothing to send + * also triggers writer start, inactive on nothing to send */ virtual void RequestSendL(MMSRPWriterObserver& aMsg) = 0; /** + * Cancels the sending if given message is currently being sent + * @param aMsg message writer observer class + */ + virtual void CancelSendingL( const MMSRPWriterObserver* aMsg ) = 0; + + /** * Cancel current send, socket state to be verified */ //virtual void CancelWrite() = 0; //not supported, only cancel message supported, i.e. chunk abort /** - * Stops the writer from sending data + * Stops the writer from sending data */ //virtual void Stop() = 0; //virtual void Start() = 0; /** - * Stops sending and discards all pending data + * Stops sending and discards all pending data */ //virtual void Flush() = 0;