equal
deleted
inserted
replaced
|
1 // Copyright (c) 2000-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 #ifndef REQHANDLER_H |
|
18 #define REQHANDLER_H |
|
19 |
|
20 #include <e32std.h> |
|
21 #include <es_sock.h> |
|
22 #include "sdpconsts.h" |
|
23 #include "ServiceSearchVisitor.h" |
|
24 #include "ExtractorVisitor.h" |
|
25 |
|
26 static const TInt KSdpMaxReqHandlers = 7; |
|
27 |
|
28 //class CSdpListener; |
|
29 class CSdpConnection; |
|
30 class TSdpPdu; |
|
31 |
|
32 class SdpReqHandler |
|
33 { |
|
34 public: |
|
35 static void HandleL(CSdpDatabase &aDatabase, const TSdpPdu &aReqPdu, TSdpPdu &aRespPdu); |
|
36 static TInt RunError(TInt aError, const TSdpPdu &aReqPdu, TSdpPdu &aRespPdu); |
|
37 private: |
|
38 static void HandleServiceSearchL(CSdpDatabase &aDatabase, const TSdpPdu &aReqPdu, TSdpPdu &aRespPdu); |
|
39 static void HandleServiceAttributeL(CSdpDatabase &aDatabase, const TSdpPdu &aReqPdu, TSdpPdu &aRespPdu); |
|
40 static void HandleServiceSearchAttributeL(CSdpDatabase &aDatabase, const TSdpPdu &aReqPdu, TSdpPdu &aRespPdu); |
|
41 }; |
|
42 |
|
43 |
|
44 #endif |