147 void NotifyUserPlaneTransportSessionsError(CUserPlaneTransportSession* aErroredSession, TInt aError); |
147 void NotifyUserPlaneTransportSessionsError(CUserPlaneTransportSession* aErroredSession, TInt aError); |
148 void LocalSEPDestroyed(const CLocalSEP& aTerminator); |
148 void LocalSEPDestroyed(const CLocalSEP& aTerminator); |
149 |
149 |
150 TInt AddSession(TAvdtpTransportSessionType aType, |
150 TInt AddSession(TAvdtpTransportSessionType aType, |
151 CUserPlaneTransportSession& aSession, |
151 CUserPlaneTransportSession& aSession, |
152 CTransportChannel*& aTransportChannel); |
152 CTransportChannel*& aTransportChannel, |
|
153 TL2CapConfig::TChannelPriority aPriority = TL2CapConfig::ELow); |
153 void DropSession(TAvdtpTransportSessionType aType, CUserPlaneTransportSession& aSession); |
154 void DropSession(TAvdtpTransportSessionType aType, CUserPlaneTransportSession& aSession); |
154 void ClearSession(CUserPlaneTransportSession& aSession); |
155 void ClearSession(CUserPlaneTransportSession& aSession); |
155 |
156 |
156 inline TSEID LocalSEID() const; |
157 inline TSEID LocalSEID() const; |
157 inline TSEID RemoteSEID() const; |
158 inline TSEID RemoteSEID() const; |
301 virtual void Release(CAVStream& aStream) const; |
302 virtual void Release(CAVStream& aStream) const; |
302 virtual void LogicalChannelsAvailable(CAVStream& aStream, TLogicalChannelFactoryTicket aTicket, TInt aErr) const; |
303 virtual void LogicalChannelsAvailable(CAVStream& aStream, TLogicalChannelFactoryTicket aTicket, TInt aErr) const; |
303 virtual TInt AddSession(CAVStream& aStream, |
304 virtual TInt AddSession(CAVStream& aStream, |
304 TAvdtpTransportSessionType aType, |
305 TAvdtpTransportSessionType aType, |
305 CUserPlaneTransportSession& aSession, |
306 CUserPlaneTransportSession& aSession, |
306 CTransportChannel*& aTransportChannel) const; |
307 CTransportChannel*& aTransportChannel, |
|
308 TL2CapConfig::TChannelPriority aPriority) const; |
307 virtual void DropSession(CAVStream& aStream, TAvdtpTransportSessionType aType, |
309 virtual void DropSession(CAVStream& aStream, TAvdtpTransportSessionType aType, |
308 CUserPlaneTransportSession& aSession) const; |
310 CUserPlaneTransportSession& aSession) const; |
309 |
311 |
310 // INT stuff |
312 // INT stuff |
311 virtual void SetConfigurationL(CAVStream& aStream, |
313 virtual void SetConfigurationL(CAVStream& aStream, |
396 public: |
398 public: |
397 TAVStreamStateINTConfigured(CAVStreamStateFactory& aFactory); |
399 TAVStreamStateINTConfigured(CAVStreamStateFactory& aFactory); |
398 virtual TInt AddSession(CAVStream& aStream, |
400 virtual TInt AddSession(CAVStream& aStream, |
399 TAvdtpTransportSessionType aType, |
401 TAvdtpTransportSessionType aType, |
400 CUserPlaneTransportSession& aSession, |
402 CUserPlaneTransportSession& aSession, |
401 CTransportChannel*& aChannel) const; |
403 CTransportChannel*& aChannel, |
|
404 TL2CapConfig::TChannelPriority aPriority) const; |
402 virtual void DropSession(CAVStream& aStream, TAvdtpTransportSessionType aType, |
405 virtual void DropSession(CAVStream& aStream, TAvdtpTransportSessionType aType, |
403 CUserPlaneTransportSession& aSession) const; |
406 CUserPlaneTransportSession& aSession) const; |
404 virtual void SetConfigurationL(CAVStream& aStream, |
407 virtual void SetConfigurationL(CAVStream& aStream, |
405 RBuf8& aPacketBuffer, |
408 RBuf8& aPacketBuffer, |
406 CSignallingChannel& aSignallingChannel, |
409 CSignallingChannel& aSignallingChannel, |
417 TAVStreamStateACPConfigured(CAVStreamStateFactory& aFactory); |
420 TAVStreamStateACPConfigured(CAVStreamStateFactory& aFactory); |
418 virtual void AwaitLogicalChannelsL(CAVStream& aStream) const; |
421 virtual void AwaitLogicalChannelsL(CAVStream& aStream) const; |
419 TInt AddSession(CAVStream& aStream, |
422 TInt AddSession(CAVStream& aStream, |
420 TAvdtpTransportSessionType aType, |
423 TAvdtpTransportSessionType aType, |
421 CUserPlaneTransportSession& aSession, |
424 CUserPlaneTransportSession& aSession, |
422 CTransportChannel*& aTransportChannel) const; |
425 CTransportChannel*& aTransportChannel, |
|
426 TL2CapConfig::TChannelPriority aPriority) const; |
423 virtual void Enter(CAVStream& aStream) const; |
427 virtual void Enter(CAVStream& aStream) const; |
424 private: |
428 private: |
425 void TryToOpen(CAVStream& aStream) const; |
429 void TryToOpen(CAVStream& aStream) const; |
426 void DoAwaitDirectChannelsL(CAVStream& aStream, |
430 void DoAwaitDirectChannelsL(CAVStream& aStream, |
427 TBool aRequireReporting, |
431 TBool aRequireReporting, |
438 TAVStreamStateWaitForSessions(CAVStreamStateFactory& aFactory); |
442 TAVStreamStateWaitForSessions(CAVStreamStateFactory& aFactory); |
439 |
443 |
440 virtual TInt AddSession(CAVStream& aStream, |
444 virtual TInt AddSession(CAVStream& aStream, |
441 TAvdtpTransportSessionType aType, |
445 TAvdtpTransportSessionType aType, |
442 CUserPlaneTransportSession& aSession, |
446 CUserPlaneTransportSession& aSession, |
443 CTransportChannel*& aChannel) const; |
447 CTransportChannel*& aChannel, |
|
448 TL2CapConfig::TChannelPriority aPriority) const; |
444 |
449 |
445 virtual TInt StartReceived(CAVStream& aStream) const; |
450 virtual TInt StartReceived(CAVStream& aStream) const; |
446 virtual void Enter(CAVStream& aStream) const; |
451 virtual void Enter(CAVStream& aStream) const; |
447 }; |
452 }; |
448 |
453 |
452 TAVStreamStateWaitForSessionsStartReceived(CAVStreamStateFactory& aFactory); |
457 TAVStreamStateWaitForSessionsStartReceived(CAVStreamStateFactory& aFactory); |
453 |
458 |
454 virtual TInt AddSession(CAVStream& aStream, |
459 virtual TInt AddSession(CAVStream& aStream, |
455 TAvdtpTransportSessionType aType, |
460 TAvdtpTransportSessionType aType, |
456 CUserPlaneTransportSession& aSession, |
461 CUserPlaneTransportSession& aSession, |
457 CTransportChannel*& aChannel) const; |
462 CTransportChannel*& aChannel, |
|
463 TL2CapConfig::TChannelPriority aPriority) const; |
458 |
464 |
459 virtual TInt StartReceived(CAVStream& aStream) const; |
465 virtual TInt StartReceived(CAVStream& aStream) const; |
460 virtual void Enter(CAVStream& aStream) const; |
466 virtual void Enter(CAVStream& aStream) const; |
461 }; |
467 }; |
462 |
468 |
492 public: |
498 public: |
493 TAVStreamStateReady(CAVStreamStateFactory& aFactory); |
499 TAVStreamStateReady(CAVStreamStateFactory& aFactory); |
494 virtual TInt AddSession(CAVStream& aStream, |
500 virtual TInt AddSession(CAVStream& aStream, |
495 TAvdtpTransportSessionType aType, |
501 TAvdtpTransportSessionType aType, |
496 CUserPlaneTransportSession& aSession, |
502 CUserPlaneTransportSession& aSession, |
497 CTransportChannel*& aChannel) const; |
503 CTransportChannel*& aChannel, |
|
504 TL2CapConfig::TChannelPriority aPriority) const; |
498 // next pertains to reconfiguration |
505 // next pertains to reconfiguration |
499 void SetConfigurationL(CAVStream& aStream, |
506 void SetConfigurationL(CAVStream& aStream, |
500 RBuf8& aPacketBuffer, |
507 RBuf8& aPacketBuffer, |
501 CSignallingChannel& aSignallingChannel, |
508 CSignallingChannel& aSignallingChannel, |
502 TBool aReportingConfigured, |
509 TBool aReportingConfigured, |