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); }
...
Private Member Functions | |
---|---|
void | CancelExtensionInterface(TSubSessionUniqueId) |
Public Attributes | |
---|---|
const TSupportedCommsApiExt | KInterfaceId |
void | CancelExtensionInterface | ( | TSubSessionUniqueId | aClientId | ) | [private, inline, virtual] |
TSubSessionUniqueId aClientId |
void | CancelSubscription | ( | TSubSessionUniqueId | aClientId | ) | [pure virtual] |
TSubSessionUniqueId aClientId |
void | IgnorePreferredCarrier | ( | TSubSessionUniqueId | aClientId | ) | [pure virtual] |
TSubSessionUniqueId aClientId |
void | MigrateToPreferredCarrier | ( | TSubSessionUniqueId | aClientId | ) | [pure virtual] |
TSubSessionUniqueId aClientId |
void | NewCarrierAccepted | ( | TSubSessionUniqueId | aClientId | ) | [pure virtual] |
TSubSessionUniqueId aClientId |
void | NewCarrierRejected | ( | TSubSessionUniqueId | aClientId | ) | [pure virtual] |
TSubSessionUniqueId aClientId |
void | SubscribeForMessage | ( | TSubSessionUniqueId | aClientId, |
CCommsMobilitySrvResp * | aRespExt | |||
) | [pure virtual] |
TSubSessionUniqueId aClientId | |
CCommsMobilitySrvResp * aRespExt |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.