MXIMPProtocolConnectionHostObserver Class Reference

class MXIMPProtocolConnectionHostObserver

XIMP connection host observer interface. All XIMP connection host events are delivered through this interface back to protocol adaptation implementation.

Since
S60 v3.2

Constructor & Destructor Documentation

~MXIMPProtocolConnectionHostObserver()

~MXIMPProtocolConnectionHostObserver()[protected, inline, virtual]

Protected destructor. Observer instancies can't be destroyed via this interface.

Member Functions Documentation

HandleProtocolConnectionHostEvent(const MXIMPProtocolConnectionHost &, const MXIMPBase &)

voidHandleProtocolConnectionHostEvent(const MXIMPProtocolConnectionHost &aHost,
const MXIMPBase &aEvent
)[pure virtual]

Event callback.

Events are delivered as MXIMPBase typed objects. Protocol adaptation can use MXIMPBase::InterfaceId() to identify the real event interface type. Observer can use cast methods provided in MXimpFw...Event interfaces to cast to real event interface.

Parameters

const MXIMPProtocolConnectionHost & aHostXIMP host object from where this event is coming. Provided as reference for protocol adaptation, so observer can distinguish events coming from different hosts if listened in single observer.
const MXIMPBase & aEventThe event object. Client can use MXIMPBase::InterfaceId() to determine correct event type and interface cast methods from MXimpFw...Event interfaces to cast object to real event interface.

ProtocolConnectionHostObserverExtensionOrNull(TInt32)

TAny *ProtocolConnectionHostObserverExtensionOrNull(TInt32aInterfaceId)[inline, virtual]

Extension point for this observer interface.

Returns an pointer to MXIMPProtocolConnectionHostObserver extension interface or NULL if the concrete observer implementation doesn't support requested extension.

Parameters

TInt32 aInterfaceIdInterface ID identifying the requested extension interface.