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)

voidCancelExtensionInterface(TSubSessionUniqueIdaClientId)[private, inline, virtual]

Parameters

TSubSessionUniqueId aClientId

CancelSubscription(TSubSessionUniqueId)

voidCancelSubscription(TSubSessionUniqueIdaClientId)[pure virtual]

Parameters

TSubSessionUniqueId aClientId

IgnorePreferredCarrier(TSubSessionUniqueId)

voidIgnorePreferredCarrier(TSubSessionUniqueIdaClientId)[pure virtual]

Parameters

TSubSessionUniqueId aClientId

MigrateToPreferredCarrier(TSubSessionUniqueId)

voidMigrateToPreferredCarrier(TSubSessionUniqueIdaClientId)[pure virtual]

Parameters

TSubSessionUniqueId aClientId

NewCarrierAccepted(TSubSessionUniqueId)

voidNewCarrierAccepted(TSubSessionUniqueIdaClientId)[pure virtual]

Parameters

TSubSessionUniqueId aClientId

NewCarrierRejected(TSubSessionUniqueId)

voidNewCarrierRejected(TSubSessionUniqueIdaClientId)[pure virtual]

Parameters

TSubSessionUniqueId aClientId

SubscribeForMessage(TSubSessionUniqueId, CCommsMobilitySrvResp *)

voidSubscribeForMessage(TSubSessionUniqueIdaClientId,
CCommsMobilitySrvResp *aRespExt
)[pure virtual]

Parameters

TSubSessionUniqueId aClientId
CCommsMobilitySrvResp * aRespExt

Member Data Documentation

const TSupportedCommsApiExt KInterfaceId

const TSupportedCommsApiExtKInterfaceId[static]