NetUps::CNetUps Class Reference

class NetUps::CNetUps : public CBase

Inherits from

Constructor & Destructor Documentation

CNetUps(TInt32)

CNetUps(TInt32aServiceId)[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 TIntCancelRequest(const Messages::TNodeId &aCallersNodeId,
const TRequestId &aRequestId
)

Cancels an outstanding asynchronous UPS Policy Check Request.

Parameters

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

ConstructL(TInt32)

voidConstructL(TInt32aServiceId)[private, virtual]

Parameters

TInt32 aServiceId

DecrementConnectionCountL(const Messages::TNodeId &)

IMPORT_C voidDecrementConnectionCountL(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 & aCallersNodeIdThe CommsId associated with the caller of this method.

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

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

Parameters

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

IncrementConnectionCountL(const Messages::TNodeId &)

IMPORT_C voidIncrementConnectionCountL(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 & aCallersNodeIdThe CommsId associated with the caller of this method.

NewL(TInt32)

IMPORT_C CNetUps *NewL(TInt32aServiceId)[static]

Creates an instance of the Net UPS.

Parameters

TInt32 aServiceId

ProcessPolicyCheckRequestL(TPolicyCheckRequestData &, TRequestId &)

IMPORT_C voidProcessPolicyCheckRequestL(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 & aPolicyCheckRequestDataA structure which encapsulates the attributes associated with a policy check request.
TRequestId & aRequestIdThe NetUps updates this variable with an identifier which uniquely identifies this policy check request.

UpsDisabled(TInt32)

IMPORT_C TBoolUpsDisabled(TInt32aServiceId)[static]

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

Parameters

TInt32 aServiceIdThe service ID which specialises this query.

operator=(const CNetUps &)

voidoperator=(const CNetUps &)[private]

Parameters

const CNetUps &

operator==(const CNetUps &)

booloperator==(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]