equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2009 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". |
118 */ |
118 */ |
119 IMPORT_C MSimpleEngineRequest::TSimpleSipSubscriptionState SipSubscriptionState( |
119 IMPORT_C MSimpleEngineRequest::TSimpleSipSubscriptionState SipSubscriptionState( |
120 MSimpleEngineRequest& aReq ); |
120 MSimpleEngineRequest& aReq ); |
121 |
121 |
122 /** |
122 /** |
|
123 * Set service id |
|
124 * @param aServiceId new service id |
|
125 */ |
|
126 IMPORT_C void SetServiceId( TInt32 aServiceId ); |
|
127 |
|
128 /** |
123 * Search the corresponding client request |
129 * Search the corresponding client request |
124 * |
130 * |
125 * @since S60 v3.2 |
131 * @since S60 v3.2 |
126 * @param aTrans SIP transaction |
132 * @param aTrans SIP transaction |
127 * @return request or NULL if request not found |
133 * @return request or NULL if request not found |
239 * @param aContent message content |
245 * @param aContent message content |
240 * @return error code |
246 * @return error code |
241 */ |
247 */ |
242 TInt HandleReceivedMessage( const TDesC8& aFrom, |
248 TInt HandleReceivedMessage( const TDesC8& aFrom, |
243 const TDesC8& aContent ); |
249 const TDesC8& aContent ); |
|
250 |
|
251 /** |
|
252 * Connection method has changed (Roaming). |
|
253 * |
|
254 * @since S60 3.2.3 |
|
255 */ |
|
256 void ConnectionChanged(); |
244 |
257 |
245 protected: |
258 protected: |
246 |
259 |
247 /** |
260 /** |
248 * C++ default constructor. |
261 * C++ default constructor. |
358 * Delete all pending client requests |
371 * Delete all pending client requests |
359 * |
372 * |
360 * @since S60 v3.2 |
373 * @since S60 v3.2 |
361 */ |
374 */ |
362 void DeleteRequests(); |
375 void DeleteRequests(); |
363 |
376 |
|
377 /** |
|
378 * Delete all pending specified type of requests. |
|
379 * |
|
380 * @since S60 5.0 |
|
381 * @param aRequestType request type |
|
382 */ |
|
383 void DeleteRequests( CSimpleRequest::TSimpleSipReqType aRequestType ); |
|
384 |
364 /** |
385 /** |
365 * Destroy the request |
386 * Destroy the request |
366 * |
387 * |
367 * @since S60 v3.2 |
388 * @since S60 v3.2 |
368 * @param aReq request |
389 * @param aReq request |
557 * @param aRequest SIMPLE request |
578 * @param aRequest SIMPLE request |
558 * @return error code |
579 * @return error code |
559 */ |
580 */ |
560 void DoHandleReceivedMessageL( const TDesC8& aFrom, |
581 void DoHandleReceivedMessageL( const TDesC8& aFrom, |
561 const TDesC8& aContent, CSimpleRequest& aRequest ); |
582 const TDesC8& aContent, CSimpleRequest& aRequest ); |
|
583 |
|
584 /** |
|
585 * Stores ETag to vimpstsettingstore |
|
586 * |
|
587 * @since S60 5.0 |
|
588 */ |
|
589 void StoreETagL( HBufC8& aTag ); |
562 |
590 |
563 private: // Data |
591 private: // Data |
564 |
592 |
565 /** |
593 /** |
566 * SIP Engine connection |
594 * SIP Engine connection |
609 |
637 |
610 /** |
638 /** |
611 * Current number of subscriptions |
639 * Current number of subscriptions |
612 */ |
640 */ |
613 TUint iCurrentNbrSubs; |
641 TUint iCurrentNbrSubs; |
|
642 |
|
643 /** |
|
644 * Service id of current service |
|
645 */ |
|
646 TInt32 iServiceId; |
614 |
647 |
615 #ifdef _DEBUG |
648 #ifdef _DEBUG |
616 friend class T_CSimpleSipConnection; |
649 friend class T_CSimpleSipConnection; |
617 #endif |
650 #endif |
618 }; |
651 }; |