class MXIMPProtocolConnectionHostObserver |
XIMP connection host observer interface. All XIMP connection host events are delivered through this interface back to protocol adaptation implementation.
Public Member Functions | |
---|---|
void | HandleProtocolConnectionHostEvent (const MXIMPProtocolConnectionHost &, const MXIMPBase &) |
TAny * | ProtocolConnectionHostObserverExtensionOrNull ( TInt32 ) |
Protected Member Functions | |
---|---|
~MXIMPProtocolConnectionHostObserver () |
~MXIMPProtocolConnectionHostObserver | ( | ) | [protected, inline, virtual] |
Protected destructor. Observer instancies can't be destroyed via this interface.
void | HandleProtocolConnectionHostEvent | ( | 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.
const MXIMPProtocolConnectionHost & aHost | XIMP 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 & aEvent | The 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. |
TAny * | ProtocolConnectionHostObserverExtensionOrNull | ( | TInt32 | aInterfaceId | ) | [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.
TInt32 aInterfaceId | Interface ID identifying the requested extension interface. |
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.