equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-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 #ifndef SCONREQCOMMAND_H |
|
17 #define SCONREQCOMMAND_H |
|
18 |
|
19 #include "ABSTRACT.H" |
|
20 #include <e32base.h> |
|
21 |
|
22 class IrTranpUtil; |
|
23 |
|
24 /* |
|
25 * Name: SCONreqCommand |
|
26 * |
|
27 * Description: Connection Request command |
|
28 * |
|
29 */ |
|
30 |
|
31 NONSHARABLE_CLASS(SCONreqCommand) : public AbstractCommand |
|
32 { |
|
33 private: |
|
34 SCONreqCommand(); |
|
35 // Buffer to hold this packet |
|
36 TBuf8<255> m_oData; |
|
37 // Primary Machine ID |
|
38 TBufC8<8> m_PMID; |
|
39 // Secondary Machine ID |
|
40 TBufC8<8> m_SMID; |
|
41 // Maximum size of the PDU |
|
42 TUint8 m_PDU; |
|
43 |
|
44 public: |
|
45 SCONreqCommand(CComReadWrite* iComReadWrite); |
|
46 ~SCONreqCommand(); |
|
47 void DoIt(); |
|
48 void GetReply(); |
|
49 TDesC8& GetData(); |
|
50 |
|
51 void SetPMID(TPtr8); |
|
52 void SetSMID(TPtr8); |
|
53 void SetPDU(TUint8); |
|
54 |
|
55 void Create(); |
|
56 }; |
|
57 |
|
58 #endif // SCONREQCOMMAND_H |