equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
62 * @return Symbian error code on error, KErrNone otherwise |
62 * @return Symbian error code on error, KErrNone otherwise |
63 */ |
63 */ |
64 TInt AddCallback( MDunConnMon* aCallback ); |
64 TInt AddCallback( MDunConnMon* aCallback ); |
65 |
65 |
66 /** |
66 /** |
67 * Adds callback for endpoint readiness |
|
68 * The callback will be called when the endpoint is ready or not ready |
|
69 * |
|
70 * @since S60 5.0 |
|
71 * @param aEPCallback Callback to call when writes can/can't be done |
|
72 * @return Symbian error code on error, KErrNone otherwise |
|
73 */ |
|
74 TInt AddEndpointReadyCallback( MDunEndpointReady* aEPCallback ); |
|
75 |
|
76 /** |
|
77 * Sets media to use for this endpoint monitor |
67 * Sets media to use for this endpoint monitor |
78 * |
68 * |
79 * @since S60 3.2 |
69 * @since S60 3.2 |
80 * @param aComm RComm pointer to local media side |
70 * @param aComm RComm pointer to local media side |
81 * @param aNetwork RComm pointer to network side |
71 * @param aNetwork RComm pointer to network side |
158 * @param aClearMask Clear the handshaking lines in the mask |
148 * @param aClearMask Clear the handshaking lines in the mask |
159 * @return None |
149 * @return None |
160 */ |
150 */ |
161 void ChangeDownstreamSignal( TUint aSetMask, TUint aClearMask ); |
151 void ChangeDownstreamSignal( TUint aSetMask, TUint aClearMask ); |
162 |
152 |
163 /** |
|
164 * Reports endpoint ready or not ready |
|
165 * |
|
166 * @since S60 5.0 |
|
167 * @param aReady ETrue if endpoint ready, EFalse otherwise |
|
168 * @return None |
|
169 */ |
|
170 void ReportEndpointReady( TBool aReady ); |
|
171 |
|
172 // from base class CActive |
153 // from base class CActive |
173 |
154 |
174 /* |
155 /* |
175 * From CActive. |
156 * From CActive. |
176 * Gets called when line status changes |
157 * Gets called when line status changes |
196 * Normally contains only one callback |
177 * Normally contains only one callback |
197 */ |
178 */ |
198 RPointerArray<MDunConnMon> iCallbacks; |
179 RPointerArray<MDunConnMon> iCallbacks; |
199 |
180 |
200 /** |
181 /** |
201 * Callback(s) to call when notification(s) via MDunEndpointReady to be made |
|
202 * Normally contains only one callback for upstream |
|
203 */ |
|
204 RPointerArray<MDunEndpointReady> iERCallbacks; |
|
205 |
|
206 /** |
|
207 * Callback(s) to call when command mode starts or ends |
182 * Callback(s) to call when command mode starts or ends |
208 * Usually two needed: one for upstream and second for downstream |
183 * Usually two needed: one for upstream and second for downstream |
209 */ |
184 */ |
210 RPointerArray<MDunCmdModeMonitor> iCmdCallbacks; |
185 RPointerArray<MDunCmdModeMonitor> iCmdCallbacks; |
211 |
186 |