CAgentNotificationHandler Class Reference

class CAgentNotificationHandler : public CBase

Base class for notification handlers for Agents

Inherits from

  • CAgentNotificationHandler

Constructor & Destructor Documentation

CAgentNotificationHandler()

IMPORT_CCAgentNotificationHandler()[protected]

C'tor

Member Functions Documentation

AnonPostMessageToFlow(const Messages::TSignatureBase &)

IMPORT_C TIntAnonPostMessageToFlow(const Messages::TSignatureBase &aMessage)[protected]

Parameters

const Messages::TSignatureBase & aMessage

ConnectCompleteL()

IMPORT_C voidConnectCompleteL()[virtual]

Default implementation of ConnectCompleteL does nothing

GetExtension(const Meta::STypeId &)

IMPORT_C const Meta::SMetaData *GetExtension(const Meta::STypeId &aType)const [protected]

Gets an extension from the SCPrs iAccessPointConfig member

Parameters

const Meta::STypeId & aType

Initialise(CAgentSubConnectionProvider *)

voidInitialise(CAgentSubConnectionProvider *aAgentSCPr)

Initialises the CAgentNotificationHandler with the Agent SCPr it should use to communicate with the Agent

Parameters

CAgentSubConnectionProvider * aAgentSCPr

NewL()

CAgentNotificationHandler *NewL()[private, static]

Used internally by the AgentSCPr when the MCPr has not provided a CAgentNotificationHandler

NotificationFromAgent(TAgentToFlowEventType, TAny *)

IMPORT_C TIntNotificationFromAgent(TAgentToFlowEventTypeaEvent,
TAny *aInfo
)[virtual]

Parameters

TAgentToFlowEventType aEvent
TAny * aInfo

NotificationFromFlow(TFlowToAgentEventType)

IMPORT_C TIntNotificationFromFlow(TFlowToAgentEventTypeaEvent)[virtual]

Default implementation of NotificationFromFlow will forward the notification to the agent passing a NULL pointer for the aInfo. If a pointer is really needed by the agent for the type of event received this method must be overidden. The overiding method MUST make the call to NotificationToAgent()

Parameters

TFlowToAgentEventType aEvent

NotificationToAgent(TFlowToAgentEventType, TAny *)

IMPORT_C TIntNotificationToAgent(TFlowToAgentEventTypeaEvent,
TAny *aInfo
)[protected]

Parameters

TFlowToAgentEventType aEvent
TAny * aInfo

PostMessageToFlow(const Messages::TRuntimeCtxId &, Messages::TSignatureBase &)

IMPORT_C TIntPostMessageToFlow(const Messages::TRuntimeCtxId &aSender,
Messages::TSignatureBase &aMessage
)[protected]

Sends a message to the Flow. The NodeChannelId will be overwritten properly (taking it from the AgentSCPr) before sending the message to the Flow.

Parameters

const Messages::TRuntimeCtxId & aSender
Messages::TSignatureBase & aMessage

QueryIsDialIn()

IMPORT_C TIntQueryIsDialIn()[protected]

ReadIfNetworks(TDes &)

IMPORT_C TIntReadIfNetworks(TDes &aIfNetworks)[protected]

Parameters

TDes & aIfNetworks

ReadIfParams(TDes &)

IMPORT_C TIntReadIfParams(TDes &aIfParams)[protected]

Parameters

TDes & aIfParams

ReadNifName(TDes &)

IMPORT_C TIntReadNifName(TDes &aNifName)[protected]

Reads information via the Agent

Parameters

TDes & aNifName

ReadPortName(TDes &)

IMPORT_C TIntReadPortName(TDes &aPortName)[protected]

Reads information via the Agent

Parameters

TDes & aPortName

ServiceStarted()

IMPORT_C voidServiceStarted()[virtual]

Default implementation of ServiceStarted does nothing