equal
deleted
inserted
replaced
|
1 // socketuser.cpp |
|
2 // |
|
3 // Copyright (c) 2008 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #include "socketuser.h" |
|
14 |
|
15 void CSocketUser::SocketConnected() |
|
16 { |
|
17 iConnected = ETrue; |
|
18 HandleSocketConnected(); |
|
19 } |
|
20 |
|
21 CSocketUser::CSocketUser(RSocket& aSocket) |
|
22 : CActive(CActive::EPriorityStandard), iSocket(aSocket) |
|
23 { |
|
24 } |
|
25 |
|
26 CSocketUser::~CSocketUser() |
|
27 { |
|
28 } |
|
29 |
|
30 TBool CSocketUser::Connected() const |
|
31 { |
|
32 return iConnected; |
|
33 } |
|
34 |