Link against: ConnMon.lib
None
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>
Inherited by CConnMonBearerAvailabilityChange, CConnMonBearerChange, CConnMonBearerGroupChange, CConnMonBearerInfoChange, CConnMonConnectionActivityChange, CConnMonConnectionStatusChange, CConnMonCreateConnection, CConnMonCreateSubConnection, CConnMonDeleteConnection, CConnMonDeleteSubConnection, CConnMonDownlinkDataThreshold, CConnMonGenericEvent, CConnMonIapAvailabilityChange, CConnMonNetworkRegistrationChange, CConnMonNetworkStatusChange, CConnMonNewWLANNetworkDetected, CConnMonOldWLANNetworkLost, CConnMonPacketDataAvailable, CConnMonPacketDataUnavailable, CConnMonSignalStrengthChange, CConnMonSNAPsAvailabilityChange, CConnMonTransmitPowerChange, and CConnMonUplinkDataThreshold.
Example how to convert an event according to type.
void CMyConnMonObserver::EventL( const CConnMonEventBase& aEvent ) { switch( aEvent.EventType() ) { case EConnMonCreateConnection: CConnMonCreateConnection* realEvent; realEvent = (CConnMonCreateConnection*) &aEvent; //...
Public Member Functions | |
CConnMonEventBase (const TInt aEventType, const TUint iConnectionId) | |
Constructor. | |
~CConnMonEventBase () | |
Destructor. | |
IMPORT_C TInt | EventType () const |
Gets the type of the event. | |
IMPORT_C TUint | ConnectionId () const |
Gets the connection ID of the connection. |
|
Constructor.
|
|
Destructor. |
|
Gets the connection ID of the connection.
|
|
Gets the type of the event.
|