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