CConnMonWlanProbeRawBuffersPckg Class Reference

Link against: ConnMon.lib

Capability Information

Required Capabilities

None

Exceptions

ReadDeviceData to call

IMPORT_C void GetIntAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TInt& aValue, TRequestStatus& aStatus );

IMPORT_C TInt SetIntAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TInt aValue ) const;

with aAttribute set to KProtocolType.

NetworkServices and NetworkControl to call

IMPORT_C void GetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TBool& aValue, TRequestStatus& aStatus );

IMPORT_C TInt SetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TBool aValue ) const;

with aAttribute KConnectionStop or KConnectionStopAll.

ReadDeviceData to call

IMPORT_C void GetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TDes& aValue, TRequestStatus& aStatus ) const;

IMPORT_C TInt SetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TDes& aValue ) const;

with aAttribute set to KAccessPointName or KNetworkName.

ReadUserData to call

IMPORT_C void GetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TDes& aValue, TRequestStatus& aStatus ) const;

IMPORT_C TInt SetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TDes& aValue ) const;

with aAttribute set to KTelNumber.

NetworkControl to call

IMPORT_C void GetPckgAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TDes8& aValue, TRequestStatus& aStatus ) const;

IMPORT_C TInt SetPckgAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TDes8& aValue ) const;

with aAttribute set to KClientInfo.


#include <
rconnmon.h>

Detailed Description

Class to contain a package of a pointer array of
CConnMonWlanProbeRawBuffer objects.
Since:
S60 5.0

Public Member Functions

 CConnMonWlanProbeRawBuffersPckg (const RConnMonWlanProbeRawBuffersPtrArray &aRef, TUint aBufSize)
 Constructor.
IMPORT_C CConnMonWlanProbeRawBuffersPckg (TUint aBufSize)
 Constructor.
virtual IMPORT_C ~CConnMonWlanProbeRawBuffersPckg ()
 Destructor.
IMPORT_C void UnpackToL (RConnMonWlanProbeRawBuffersPtrArray &aRef) const
 Unpacks the package to a pointer array of CConnMonWlanProbeRawBuffer objects.
IMPORT_C HBufC8 * Buf () const
 Obtains the pointer to the package buffer.
IMPORT_C TUint Total () const
 Obtains the total number of found WLANs.
IMPORT_C TUint Count () const
 Obtains the number of trasferred WLANs.

Constructor & Destructor Documentation

CConnMonWlanProbeRawBuffersPckg::CConnMonWlanProbeRawBuffersPckg const RConnMonWlanProbeRawBuffersPtrArray aRef,
TUint  aBufSize
 

Constructor.

Constructs the package of an array of pointers to CConnMonWlanProbeRawBuffer objects on the heap.

Since:
S60 5.0
Parameters:
aRef Array of pointers to CConnMonWlanProbeRawBuffer objects.
aBufSize Size of the buffer, intended to contain the package.
IMPORT_C CConnMonWlanProbeRawBuffersPckg::CConnMonWlanProbeRawBuffersPckg TUint  aBufSize  ) 
 

Constructor.

Constructs an empty package on the heap.

Since:
S60 5.0
Parameters:
aBufSize Size of the buffer, intended to contain the package.
virtual IMPORT_C CConnMonWlanProbeRawBuffersPckg::~CConnMonWlanProbeRawBuffersPckg  )  [virtual]
 

Destructor.

Since:
S60 5.0

Member Function Documentation

IMPORT_C HBufC8* CConnMonWlanProbeRawBuffersPckg::Buf  )  const
 

Obtains the pointer to the package buffer.

Since:
S60 5.0
Returns:
Pointer to the package buffer.
IMPORT_C TUint CConnMonWlanProbeRawBuffersPckg::Count  )  const
 

Obtains the number of trasferred WLANs.

This will be less than total count if there was not enough memory in buffer to include all found WLANs.

Since:
S60 5.0
Returns:
Transfered count in buffer (iBuf[1]).
IMPORT_C TUint CConnMonWlanProbeRawBuffersPckg::Total  )  const
 

Obtains the total number of found WLANs.

Since:
S60 5.0
Returns:
Total count (iBuf[0]).
IMPORT_C void CConnMonWlanProbeRawBuffersPckg::UnpackToL RConnMonWlanProbeRawBuffersPtrArray aRef  )  const
 

Unpacks the package to a pointer array of CConnMonWlanProbeRawBuffer objects.

Since:
S60 5.0
Parameters:
aRef Array that will contain the pointers to unpacked objects.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top