CConnMonWlanNetworksPtrArrayPckg Class Reference

API published in: S60 2nd Ed FP 2

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

Package of array of items of class CConnMonWlanNetwork.

Public Member Functions

  CConnMonWlanNetworksPtrArrayPckg (const RPointerArray< CConnMonWlanNetwork > &aRef, TUint aBufSize)
  Constructs the package of array of pointers to CConnMonWlanNetwork objects on the heap.
IMPORT_C  CConnMonWlanNetworksPtrArrayPckg (TUint aBufSize)
  Constructs empty package on the heap.
virtual IMPORT_C  ~CConnMonWlanNetworksPtrArrayPckg ()
  Destruction.
IMPORT_C void  UnpackToL (RPointerArray< CConnMonWlanNetwork > &aRef) const
  Unpacks package to an array of pointers to CConnMonWLANNetwork objects.
IMPORT_C HBufC *  Buf () const
  Gets iBuf.

Constructor & Destructor Documentation

CConnMonWlanNetworksPtrArrayPckg::CConnMonWlanNetworksPtrArrayPckg const RPointerArray< CConnMonWlanNetwork > &  aRef,
TUint  aBufSize
 

Constructs the package of array of pointers to CConnMonWlanNetwork objects on the heap.

Parameters:
aRef  Array of pointers to CConnMonWlanNetwork objects
aBufSize  Size of the buffer, intended to contain the package
IMPORT_C CConnMonWlanNetworksPtrArrayPckg::CConnMonWlanNetworksPtrArrayPckg TUint  aBufSize  ) 
 

Constructs empty package on the heap.

Parameters:
aBufSize  Size of the buffer, intended to contain the package
virtual IMPORT_C CConnMonWlanNetworksPtrArrayPckg::~CConnMonWlanNetworksPtrArrayPckg  )  [virtual]
 

Destruction.


Member Function Documentation

IMPORT_C HBufC* CConnMonWlanNetworksPtrArrayPckg::Buf  )  const
 

Gets iBuf.

Returns:
iBuf
IMPORT_C void CConnMonWlanNetworksPtrArrayPckg::UnpackToL RPointerArray< CConnMonWlanNetwork > &  aRef  )  const
 

Unpacks package to an array of pointers to CConnMonWLANNetwork objects.

Parameters:
aRef  Array, containing pointers to unpacked objects

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

Copyright © Nokia Corporation 2001-2008
Back to top