RConnMonPlugin Class Reference

class RConnMonPlugin : public RSubSessionBase

RConnMonPlugin Plug-in subsession. CONNMONEXT.LIB

Inherits from

Member Functions Documentation

CancelGetQuery()

voidCancelGetQuery()const

Cancels the attribute request from the Connection Monitor server.

CancelRegisterAttribute(const TUint)

TInt CancelRegisterAttribute(const TUintaAttribute)const

Cancels the attribute registration from the Connection monitor server.

Parameters

const TUint aAttributeAttribute identifier.

Close()

voidClose()

Closes plug-in subsession from the Connection Monitor server.

GetQuery(TDes8 &, TRequestStatus &)

voidGetQuery(TDes8 &aBuffer,
TRequestStatus &aStatus
)const

Gets the next attribute request from the Connection Monitor server.

Parameters

TDes8 & aBufferQuery record in buffer.
TRequestStatus & aStatusOn completion, KErrNone if successfull, a system-wide error code if not.

Open(RConnectionMonitor &, const TUint)

TInt Open(RConnectionMonitor &aSession,
const TUintaConnectionId
)

Opens a plug-in subsession to the Connection Monitor server. It must be called before any of other methods during the subsession.

Parameters

RConnectionMonitor & aSessionConnection Monitor session (RConnectionMonitor) object.
const TUint aConnectionIdBearer specific general connection id that identifies the plug-in. See TConnMonBearerId (rconnmon.h).

RegisterAttribute(const TUint)

TInt RegisterAttribute(const TUintaAttribute)const

Registers an attribute to the Connection monitor server.

Parameters

const TUint aAttributeAttribute identifier.

SendAttribute(const TInt, const TUint, const TInt, const TAny *, const TUint)

TInt SendAttribute(const TIntaType,
const TUintaAttribute,
const TIntaRet,
const TAny *aValue,
const TUintaSize
)const

Sends an attribute to the Connection Monitor server.

Parameters

const TInt aTypeType of the attribute (TInt, TUint, TBool, TDes, TDes8).
const TUint aAttributeAttribute identifier.
const TInt aRetThe plug-in return code.
const TAny * aValueThe value of the attribute.
const TUint aSizeSize of the attribute. This must not exceed 512 bytes.

SendEvent(const TUint, const TAny *, const TUint)

TInt SendEvent(const TUintaEventId,
const TAny *aData,
const TUintaSize
)const

Sends an event to the Connection Monitor server.

Parameters

const TUint aEventIdEvent identifier.
const TAny * aDataEvent data.
const TUint aSizeSize of the event data. This must not exceed 512 bytes.

Version()

TVersion Version()const

Returns the version information.