RPacketMbmsContext Class Reference

class RPacketMbmsContext : public RPacketContext

Defines the MBMS context and the configuration of a connection to the network's packet-switched service. The functionality associated with the context of a MBMS connection is inherited from RPacketContext class. The behaviour of OpenNewContext API is redefined. Every instance of this class has RPacketService as a base class.

Public Member Functions
RPacketMbmsContext ()
IMPORT_C void Close ()
IMPORT_C TInt OpenNewContext ( RPacketService &, TDes &)
IMPORT_C void UpdateMbmsSessionList ( TRequestStatus &, const TMbmsAction , const TMbmsSessionId )
Inherited Functions
RPacketContext::Activate(TRequestStatus &)const
RPacketContext::AddMediaAuthorizationL(TRequestStatus &,CTFTMediaAuthorizationV3 &)const
RPacketContext::AddPacketFilter(TRequestStatus &,const TDesC8 &)const
RPacketContext::ConstructL()
RPacketContext::CreateNewTFT(TRequestStatus &,const TInt)const
RPacketContext::Deactivate(TRequestStatus &)const
RPacketContext::Delete(TRequestStatus &)const
RPacketContext::DeleteTFT(TRequestStatus &)const
RPacketContext::Destruct()
RPacketContext::EnumeratePacketFilters(TRequestStatus &,TInt &)const
RPacketContext::GetConfig(TRequestStatus &,TDes8 &)const
RPacketContext::GetConnectionInfo(TRequestStatus &,TDes8 &)const
RPacketContext::GetConnectionSpeed(TRequestStatus &,TUint &)const
RPacketContext::GetDataVolumeTransferred(TDataVolume &)const
RPacketContext::GetDataVolumeTransferred(TRequestStatus &,TDataVolume &)const
RPacketContext::GetDnsInfo(TRequestStatus &,TDes8 &)const
RPacketContext::GetLastErrorCause(TInt &)const
RPacketContext::GetPacketFilterInfo(TRequestStatus &,TInt,TDes8 &)const
RPacketContext::GetProfileName(TName &)const
RPacketContext::GetStatus(TContextStatus &)const
RPacketContext::InitialiseContext(TRequestStatus &,TDes8 &)const
RPacketContext::LoanCommPort(TRequestStatus &,RCall::TCommPort &)const
RPacketContext::ModifyActiveContext(TRequestStatus &)const
RPacketContext::NotifyConfigChanged(TRequestStatus &,TDes8 &)const
RPacketContext::NotifyConnectionInfoChange(TRequestStatus &,TDes8 &)const
RPacketContext::NotifyConnectionSpeedChange(TRequestStatus &,TUint &)const
RPacketContext::NotifyDataTransferred(TRequestStatus &,TDataVolume &,TUint,TUint)const
RPacketContext::NotifyStatusChange(TRequestStatus &,TContextStatus &)
RPacketContext::OpenExistingContext(RPacketService &,const TDesC &)
RPacketContext::OpenNewSecondaryContext(RPacketService &,const TDesC &,TDes &)
RPacketContext::RPacketContext()
RPacketContext::RecoverCommPort(TRequestStatus &)const
RPacketContext::RemoveMediaAuthorization(TRequestStatus &,TAuthorizationToken &)const
RPacketContext::RemovePacketFilter(TRequestStatus &,TInt)const
RPacketContext::SetConfig(TRequestStatus &,const TDesC8 &)const
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const
RTelSubSessionBase::Blank(const TInt,TReqPriorityType)const
RTelSubSessionBase::Blank(const TInt,TRequestStatus &,TReqPriorityType)const
RTelSubSessionBase::CancelAsyncRequest(TInt)const
RTelSubSessionBase::CancelReq(const TInt,const TInt)const
RTelSubSessionBase::CancelSubSession()const
RTelSubSessionBase::Get(const TInt,TDes16 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes8 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes8 &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes16 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes8 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes8 &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::RTelSubSessionBase()
RTelSubSessionBase::ResetSessionHandle()
RTelSubSessionBase::SessionHandle()const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC16 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC8 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC8 &,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const RFile &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC16 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC8 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC8 &,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,TDes8 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,const TDesC16 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,const TDesC8 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,const TDesC8 &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::SetSessionHandle(RSessionBase &)
RTelSubSessionBase::SubSessionHandle()
Inherited Enumerations
RPacketContext:@107
RPacketContext:@108
RPacketContext:@109
RPacketContext:@110
RPacketContext:@111
RPacketContext:@112
RPacketContext:TAnonymousAccess
RPacketContext:TAuthProtocol
RPacketContext:TConnectionInfoFlags
RPacketContext:TContextStatus
RPacketContext:TDataCompression
RPacketContext:TFQDNLength
RPacketContext:THeaderCompression
RPacketContext:TPacketFilterType
RPacketContext:TPacketFlowIdentifier
RPacketContext:TPcoIDMSToNetwork
RPacketContext:TPcoIDNetworkToMS
RPacketContext:TPcoProtocolId
RPacketContext:TProtocolType
RPacketContext:TServiceOption
RTelSubSessionBase:TReqPriorityType
Public Member Type Definitions
typedef TPckg < TContextConfigMbmsV1 > TContextConfigMbmsV1Pckg
Inherited Attributes
RPacketContext::iEtelPacketContextPtrHolder
RTelSubSessionBase::iPtrHolder

Constructor & Destructor Documentation

RPacketMbmsContext()

IMPORT_C RPacketMbmsContext ( )

Standard constructor.

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Closes the client's current sub-session with ETel. Any outstanding requests the client may have with ETel (notifications, for example) will be automatically destroyed.

An opened RPacketMbmsContext must be closed explicitly by calling Close() to prevent a resource (memory) leak.

capability
None

OpenNewContext(RPacketService &, TDes &)

IMPORT_C TInt OpenNewContext ( RPacketService & aPacketNetwork,
TDes & aContextName
)

Creates a MBMS context (i.e. RPacketMbmsContext ) on an existing RPacketService connection.

The TSY will return KErrUmtsMaxNumOfContextExceededByPhone if the number of MBMS contexts supported by the phone is exceeded. The TSY will return KErrUmtsMaxNumOfContextExceededByNetwork if the number of MBMS contexts supported by the network is exceeded.

An opened RPacketMbmsContext must be closed explicitly by calling Close() to prevent a resource (memory) leak.

capability
None

Parameters

RPacketService & aPacketNetwork An RPacketMbmsContext may only be opened from an existing RPacketService subsession. A client application must therefore pass a reference to their previously instantiated RPacketService object.
TDes & aContextName Set as the hint for the TSY to identify the Mbms Context.

UpdateMbmsSessionList(TRequestStatus &, const TMbmsAction, const TMbmsSessionId)

IMPORT_C void UpdateMbmsSessionList ( TRequestStatus & aStatus,
const TMbmsAction aAction,
const TMbmsSessionId aSessionId = 0
) const

Provides MBMS client the facility to add a new session to be received or remove an existing session to/from the mbms services table.

capability
WriteDeviceData

Parameters

TRequestStatus & aStatus On completion, KErrNone if successful. Completes with KErrNotFound, if the supplied session is invalid for removal. In the above case the action would be ERemoveEntries. Completes with KErrMbmsImpreciseServiceEntries, if some of the valid sessions cannot be removed. In the above case the action would be ERemoveAllEntries. Or a system-wide error code if not successful.
const TMbmsAction aAction The session action information which can be either add,remove or removeall.
const TMbmsSessionId aSessionId = 0 The MBMS session identifier which need to be received or removed.

Member Type Definitions Documentation

Typedef TContextConfigMbmsV1Pckg

typedef TPckg < TContextConfigMbmsV1 > TContextConfigMbmsV1Pckg