realtimenetprots/sipfw/SIP/ConnectionMgr/inc/MServerTransportOwner.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2002-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          : MServerTransportOwner.h
       
    16 * Part of       : ConnectionMgr
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef __MSERVERTRANSPORTOWNER_H__
       
    29 #define __MSERVERTRANSPORTOWNER_H__
       
    30 
       
    31 #include <in_sock.h>
       
    32 
       
    33 class CSIPMessage;
       
    34 class CServerTransport;
       
    35 class COutgoingData;
       
    36 class TSIPTransportParams;
       
    37 class MSIPTransportRemovalObserver;
       
    38 
       
    39 
       
    40 class MServerTransportOwner
       
    41 	{
       
    42 public:
       
    43 	virtual ~MServerTransportOwner() {}
       
    44 	virtual void RemoveL(CServerTransport* aTransport,
       
    45 						 const TInetAddr& aRemoteAddr,
       
    46 						 MSIPTransportRemovalObserver* aRemovalObserver) = 0;
       
    47 	virtual void ReceiveL(CSIPMessage* aMessage,
       
    48 						  const TInetAddr& aRemoteAddr,
       
    49 						  TInt aError,
       
    50 						  TBool aCompressed) = 0;
       
    51 	virtual void ReRouteL(COutgoingData* data) = 0;
       
    52 	virtual MSigCompController* SigCompHandler() = 0;
       
    53 	virtual TUint32 IapId() = 0;
       
    54 	virtual TBool IsReservedTransportOwner() const = 0;
       
    55 	};
       
    56 
       
    57 #endif // end of __MSERVERTRANSPORTOWNER_H__
       
    58 
       
    59 // End of File