ESock::AMobilityProtocolReq Class Reference

class ESock::AMobilityProtocolReq : public ESock::AIPCClientInfo

Interface to be implemented by the client to support mobility API extension on the server side.

An example of an empty implementation could look like this:

class AExampleMobilityImplementation : public MMobilityProtocolReq { public: void MigrateToPreferredCarrier(TSubSessionUniqueId aClientId) ; void IgnorePreferredCarrier(TSubSessionUniqueId aClientId) ; void NewCarrierAccepted(TSubSessionUniqueId aClientId) ; void NewCarrierRejected(TSubSessionUniqueId aClientId) ; void SubscribeForMessage(TSubSessionUniqueId aClientId, CCommsMobilitySrvResp* aRespExt) ; void CancelSubscription(TSubSessionUniqueId aClientId) ; };

void AExampleMobilityImplementation::SubscribeForMessage(TSubSessionUniqueId aClientId, CCommsMobilitySrvResp* aRespExt) { TAccessPointInfo oldap; oldap.SetAccessPoint(1); //example access point TAccessPointInfo newap; newap.SetAccessPoint(2); //example access point TBool upgrade = ETrue; //example upgeade CCommsMobilitySrvResp::PreferredCarrierAvailable(aRespExt,oldap,newap,upgrade); }

...

Inherits from

Member Functions Documentation

CancelExtensionInterface(TSubSessionUniqueId)

void CancelExtensionInterface ( TSubSessionUniqueId aClientId ) [private, inline, virtual]

Parameters

TSubSessionUniqueId aClientId

CancelSubscription(TSubSessionUniqueId)

void CancelSubscription ( TSubSessionUniqueId aClientId ) [pure virtual]

Parameters

TSubSessionUniqueId aClientId

IgnorePreferredCarrier(TSubSessionUniqueId)

void IgnorePreferredCarrier ( TSubSessionUniqueId aClientId ) [pure virtual]

Parameters

TSubSessionUniqueId aClientId

MigrateToPreferredCarrier(TSubSessionUniqueId)

void MigrateToPreferredCarrier ( TSubSessionUniqueId aClientId ) [pure virtual]

Parameters

TSubSessionUniqueId aClientId

NewCarrierAccepted(TSubSessionUniqueId)

void NewCarrierAccepted ( TSubSessionUniqueId aClientId ) [pure virtual]

Parameters

TSubSessionUniqueId aClientId

NewCarrierRejected(TSubSessionUniqueId)

void NewCarrierRejected ( TSubSessionUniqueId aClientId ) [pure virtual]

Parameters

TSubSessionUniqueId aClientId

SubscribeForMessage(TSubSessionUniqueId, CCommsMobilitySrvResp *)

void SubscribeForMessage ( TSubSessionUniqueId aClientId,
CCommsMobilitySrvResp * aRespExt
) [pure virtual]

Parameters

TSubSessionUniqueId aClientId
CCommsMobilitySrvResp * aRespExt

Member Data Documentation

const TSupportedCommsApiExt KInterfaceId

const TSupportedCommsApiExt KInterfaceId [static]