MImMobileServer Class Reference

class MImMobileServer

The MImMobileServer API provides must be implemented by server MTMs that are to support bearer mobility using an instance of CImMobilityManager .

These APIs are called by the Messaging Mobility Manager to instruct the server MTM to prepare for migration to a new carrier, and to notify the server MTM when a new carrier is ready to create new connections.

Member Functions Documentation

CarrierLost()

void CarrierLost ( ) [pure virtual]

Called in the case of a downgrade, or if an immediate migration is required. Any current operations shall be stopped immediately and the sockets torn down. This is a synchronous operation. On completion of this method, the above must have been done

MobilityError(TUint)

void MobilityError ( TUint aError ) [pure virtual]

Indicates an error has occurred associated with bearer mobility.

Parameters

TUint aError - indicates the type of error.

MobilityProgress()

const TDesC8 & MobilityProgress ( ) [pure virtual]

Returns a packaged-up copy of the Server MTM's progress info.

NewCarrierActive(TAccessPointInfo, TBool)

void NewCarrierActive ( TAccessPointInfo aNewAp,
TBool aIsSeamless
) [pure virtual]

Indicates the new carrier is active.

Parameters

TAccessPointInfo aNewAp
TBool aIsSeamless

PrepareForNewCarrier(TImMobilityAction, TBool)

void PrepareForNewCarrier ( TImMobilityAction aAction,
TBool aIsSeamless
) [pure virtual]

The passed parameter indicates the action that shall be taken if an operation is currently in progress and for closing existing sockets. The operation is asynchronous. The mobility manager must be notified of completion by calling MigrateToNewCarrier();

Parameters

TImMobilityAction aAction The disconnection method to use.
TBool aIsSeamless Indicates if the migration will be seamless