realtimenetprots/sipfw/SIP/TransactionUser/inc/SendStatus.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name          : SendStatus.h
       
    16 * Part of       : TransactionUser
       
    17 * Version       : SIP/4.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef SENDSTATUS_H
       
    29 #define SENDSTATUS_H
       
    30 
       
    31 // INCLUDES
       
    32 #include <e32base.h>
       
    33 
       
    34 
       
    35 // CLASS DECLARATION
       
    36 class MSendStatus
       
    37 	{
       
    38 public:
       
    39 	virtual ~MSendStatus() {}	
       
    40 
       
    41 	/**
       
    42 	 * Send operation was successful, though an ICMP error can still occur
       
    43 	 * after this.
       
    44 	 *	 
       
    45 	 * @pre
       
    46 	 * @post
       
    47 	 *
       
    48 	 * @see
       
    49 	 *	 
       
    50 	 * @return value -
       
    51 	 */
       
    52 	virtual void SendCompleteL() = 0;
       
    53 
       
    54 	/**
       
    55 	 * Sending failed.
       
    56 	 *	 
       
    57 	 * @pre
       
    58 	 * @post
       
    59 	 *
       
    60 	 * @see
       
    61 	 *
       
    62 	 * @param aError Error code received from ConnectionMgr
       
    63 	 * @return value -
       
    64 	 */
       
    65 	virtual void SendFailedL(TInt aError) = 0;
       
    66 
       
    67 	/**
       
    68 	 * Leave occurred during the execution of CTransmitter::RunL() and the
       
    69 	 * error is passed to the observed associated with the CTransmitter object.
       
    70 	 *	 
       
    71 	 * @pre
       
    72 	 * @post
       
    73 	 *
       
    74 	 * @see
       
    75 	 *
       
    76 	 * @param aReason Leave code
       
    77 	 * @return value -
       
    78 	 */
       
    79 	virtual void LeaveFromTransmitter(TInt aReason) = 0;
       
    80 	};
       
    81 
       
    82 #endif // end of SENDSTATUS_H
       
    83 
       
    84 // End of File