API published in: S60 2nd Ed FP 2
Link against: connmon.lib
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>
Inherits MDesSerializer< TConnMonId >.
Public Types |
|
enum | FieldsShifts { EId = 0 } |
Public Member Functions |
|
IMPORT_C | TConnMonId (TUint aId) |
Constructor. |
|
IMPORT_C TUint | Id () const |
iId getter |
|
IMPORT_C const HBufC * | ToBuf () const |
See MDesSerializer. |
|
Static Public Member Functions |
|
static IMPORT_C TConnMonId | FromPtrC (const TPtrC &aPtrC) |
See MDesSerializer. |
|
Static Public Attributes |
|
static const TUint | KMaxSize |
Protected Attributes |
|
const TUint | iId |
ID. |
|
|
Constructor.
|
|
See MDesSerializer. Reimplemented from MDesSerializer< TConnMonId >. |
|
iId getter
|
|
See MDesSerializer. Implements MDesSerializer< TConnMonId >. |
|
ID. |
|
Initial value: ( sizeof(TUid) // iId )/ sizeof(TChar) + 1 |