NetUps::CNetUps Class Reference

class NetUps::CNetUps : public CBase

Inherits from

Constructor & Destructor Documentation

CNetUps(TInt32)

CNetUps ( TInt32 aServiceId ) [private]

Parameters

TInt32 aServiceId

CNetUps(const CNetUps &)

CNetUps ( const CNetUps & ) [private]

Parameters

const CNetUps &

~CNetUps()

~CNetUps ( ) [virtual]

Deletes this instance of the Net UPS.

Member Functions Documentation

CancelRequest(const Messages::TNodeId &, const TRequestId &)

IMPORT_C TInt CancelRequest ( const Messages::TNodeId & aCallersNodeId,
const TRequestId & aRequestId
)

Cancels an outstanding asynchronous UPS Policy Check Request.

Parameters

const Messages::TNodeId & aCallersNodeId A structure which uniquely identifies the node which posted the original request.
const TRequestId & aRequestId This variable uniquelyidentifies the policy check request which is to be cancelled.

ConstructL(TInt32)

void ConstructL ( TInt32 aServiceId ) [private, virtual]

Parameters

TInt32 aServiceId

DecrementConnectionCountL(const Messages::TNodeId &)

IMPORT_C void DecrementConnectionCountL ( const Messages::TNodeId & aCallersNodeId )

Decrements the connection count associated with a particular thread. This method should always be called when a connection is deleted.

Parameters

const Messages::TNodeId & aCallersNodeId The CommsId associated with the caller of this method.

DecrementConnectionCountL(const Messages::TNodeId &, TProcessId &, TThreadId &)

IMPORT_C void DecrementConnectionCountL ( const Messages::TNodeId & aCallersNodeId,
TProcessId & aProcessId,
TThreadId & aThreadId
)

Parameters

const Messages::TNodeId & aCallersNodeId
TProcessId & aProcessId
TThreadId & aThreadId

IncrementConnectionCountL(const Messages::TNodeId &)

IMPORT_C void IncrementConnectionCountL ( const Messages::TNodeId & aCallersNodeId )

Increments the connection count associated with a particular thread. Typically the connection count is incremented by the NetUps as soon as the request is authorised to avoid race conditions which may result in an inaccurate connection count.

Parameters

const Messages::TNodeId & aCallersNodeId The CommsId associated with the caller of this method.

NewL(TInt32)

IMPORT_C CNetUps * NewL ( TInt32 aServiceId ) [static]

Creates an instance of the Net UPS.

Parameters

TInt32 aServiceId

ProcessPolicyCheckRequestL(TPolicyCheckRequestData &, TRequestId &)

IMPORT_C void ProcessPolicyCheckRequestL ( TPolicyCheckRequestData & aPolicyCheckRequestData,
TRequestId & aRequestId
)

Processes an asynchronous UPS policy check request; when the request completes the CNetUps calls MPolicyCheckRequestOriginator::ProcessPolicyCheckResponse to notify the originator of the response.

Parameters

TPolicyCheckRequestData & aPolicyCheckRequestData A structure which encapsulates the attributes associated with a policy check request.
TRequestId & aRequestId The NetUps updates this variable with an identifier which uniquely identifies this policy check request.

UpsDisabled(TInt32)

IMPORT_C TBool UpsDisabled ( TInt32 aServiceId ) [static]

Determines whether the NetUps Component is disabled or enabled for a given Service ID.

Parameters

TInt32 aServiceId The service ID which specialises this query.

operator=(const CNetUps &)

void operator= ( const CNetUps & ) [private]

Parameters

const CNetUps &

operator==(const CNetUps &)

bool operator== ( const CNetUps & ) [private]

Parameters

const CNetUps &

Member Data Documentation

__FLOG_DECLARATION_MEMBER

__FLOG_DECLARATION_MEMBER [private]

CNetUpsImpl * iNetUps

CNetUpsImpl * iNetUps [private]

TInt32 iServiceId

TInt32 iServiceId [private]