equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 @prototype |
|
20 */ |
|
21 |
|
22 |
|
23 #ifndef __NAPTFAMILY_H__ |
|
24 #define __NAPTFAMILY_H__ |
|
25 |
|
26 #include <in_bind.h> |
|
27 #include <in6_event.h> |
|
28 #include <in_sock.h> |
|
29 #include "panic.h" |
|
30 |
|
31 |
|
32 class CProtocolFamilyNapt : public CProtocolFamilyBase |
|
33 /** |
|
34 * Class is derived from CProtocolFamilyNapt. |
|
35 * This will Install Protocol Family and load new protocol napt. |
|
36 * Implements virtual functions of base class CProtocolFamilyBase( Install, remove) |
|
37 * |
|
38 **/ |
|
39 { |
|
40 public: |
|
41 CProtocolFamilyNapt(); |
|
42 ~CProtocolFamilyNapt(); |
|
43 TInt Install(); |
|
44 TInt Remove(); |
|
45 TUint ProtocolList(TServerProtocolDesc *& aProtocolList); |
|
46 CProtocolBase* NewProtocolL(TUint /*aSockType*/, TUint aProtocol); |
|
47 TBool iStartNapt; |
|
48 }; |
|
49 |
|
50 #endif //__NAPTFAMILY_H__ |