Msrp/MsrpServer/inc/MMSRPWriter.h
branchMSRP_FrameWork
changeset 58 cdb720e67852
parent 25 505ad3f0ce5c
equal deleted inserted replaced
25:505ad3f0ce5c 58:cdb720e67852
    26 * writer request Interface 
    26 * writer request Interface 
    27 */
    27 */
    28 class MMSRPWriter
    28 class MMSRPWriter
    29 	{
    29 	{
    30 	public:
    30 	public:
    31 	    inline virtual ~MMSRPWriter(){}
    31 
       
    32         /**
       
    33          * Virtual destructor
       
    34          */     
       
    35         inline virtual ~MMSRPWriter(){}
       
    36 	    
    32 	    /**
    37 	    /**
    33 	     * register for send service
    38 	     * register for send service
    34 	     * also triggers writer start, inactive on nothing to send
    39 	     * also triggers writer start, inactive on nothing to send
    35 	     */	    
    40 	     */	    
    36 	    virtual void RequestSendL(MMSRPWriterObserver& aMsg) = 0;
    41 	    virtual void RequestSendL(MMSRPWriterObserver& aMsg) = 0;
       
    42 
       
    43         /**
       
    44          * Cancels the sending if given message is currently being sent
       
    45          * @param aMsg message writer observer class
       
    46          */     
       
    47         virtual void CancelSendingL( const MMSRPWriterObserver* aMsg ) = 0;
    37 
    48 
    38         /**
    49         /**
    39          * Cancel current send, socket state to be verified
    50          * Cancel current send, socket state to be verified
    40          */
    51          */
    41         //virtual void CancelWrite() = 0; //not supported, only cancel message supported, i.e. chunk abort
    52         //virtual void CancelWrite() = 0; //not supported, only cancel message supported, i.e. chunk abort