CConnMonWlanProbeRawBuffer 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 represent a WLAN beacon frame.

Used when reporting WLAN scan results back to a client.

Since:
S60 5.0

Public Member Functions

virtual IMPORT_C ~CConnMonWlanProbeRawBuffer ()
 Destructor.
IMPORT_C CConnMonWlanProbeRawBufferoperator= (CConnMonWlanProbeRawBuffer &aConnMonWlanProbeRawBuffer)
 Assignment operator.
IMPORT_C HBufC8 * RawBuffer () const
 Obtains a pointer to the beacon frame buffer.
const HBufC8 * ToBuf () const
 Writes object of class CConnMonWlanProbeRawBuffer to memory.

Static Public Member Functions

static IMPORT_C CConnMonWlanProbeRawBufferNewL (const HBufC8 *aRawBuffer)
 Constructor.
static IMPORT_C CConnMonWlanProbeRawBufferNewL ()
 Constructor.
static IMPORT_C CConnMonWlanProbeRawBufferNewL (CConnMonWlanProbeRawBuffer &aConnMonWlanProbeRawBuffer)
 Copy constructor.
static TInt FromPtrC (const TPtrC8 &aPtrC, CConnMonWlanProbeRawBuffer *aConnMonWlanProbeRawBuffer)
 Reads object of class CConnMonWlanProbeRawBuffer from memory.

Constructor & Destructor Documentation

virtual IMPORT_C CConnMonWlanProbeRawBuffer::~CConnMonWlanProbeRawBuffer  )  [virtual]
 

Destructor.

Since:
S60 5.0

Member Function Documentation

static TInt CConnMonWlanProbeRawBuffer::FromPtrC const TPtrC8 &  aPtrC,
CConnMonWlanProbeRawBuffer aConnMonWlanProbeRawBuffer
[static]
 

Reads object of class CConnMonWlanProbeRawBuffer from memory.

Since:
S60 5.0
Parameters:
aPtrC Pointer to the beginning of the CConnMonWlanProbeRawBuffer object in buffer.
aConnMonWlanProbeRawBuffer Pointer to CConnMonWlanProbeRawBuffer object where unpacked contents are written.
Returns:
A Symbian OS error code.
static IMPORT_C CConnMonWlanProbeRawBuffer* CConnMonWlanProbeRawBuffer::NewL CConnMonWlanProbeRawBuffer aConnMonWlanProbeRawBuffer  )  [static]
 

Copy constructor.

Since:
S60 5.0
Parameters:
aConnMonWlanProbeRawBuffer The object which is copied.
Returns:
Pointer to the created CConnMonWlanProbeRawBuffer object.
static IMPORT_C CConnMonWlanProbeRawBuffer* CConnMonWlanProbeRawBuffer::NewL  )  [static]
 

Constructor.

Since:
S60 5.0
Returns:
Pointer to the created empty CConnMonWlanProbeRawBuffer object.
static IMPORT_C CConnMonWlanProbeRawBuffer* CConnMonWlanProbeRawBuffer::NewL const HBufC8 *  aRawBuffer  )  [static]
 

Constructor.

Since:
S60 5.0
Parameters:
aRawBuffer Beacon frame buffer to be copied to this object.
Returns:
Pointer to the created CConnMonWlanProbeRawBuffer object.
IMPORT_C CConnMonWlanProbeRawBuffer& CConnMonWlanProbeRawBuffer::operator= CConnMonWlanProbeRawBuffer aConnMonWlanProbeRawBuffer  ) 
 

Assignment operator.

Since:
S60 5.0
Parameters:
aConnMonWlanProbeRawBuffer The object which is assigned.
IMPORT_C HBufC8* CConnMonWlanProbeRawBuffer::RawBuffer  )  const
 

Obtains a pointer to the beacon frame buffer.

Since:
S60 5.0
Returns:
Pointer to the beacon frame buffer.
const HBufC8* CConnMonWlanProbeRawBuffer::ToBuf  )  const
 

Writes object of class CConnMonWlanProbeRawBuffer to memory.

Ownership of newly created buffer is transferred to caller.

Since:
S60 5.0
Returns:
Pointer to heap descriptor, NULL if memory allocation failed.

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

Copyright © Nokia Corporation 2001-2007
Back to top