class MNifAgentExtendedManagementInterface |
Augments CNifAgentBase , which provides basic connection management functionality
To support this interface, clients must accept a Control(KCOLAgent, KCOGetAgentEMIPtr, TPckg<MNifIfExtendedManagementInterface*>) and return a pointer to a class that implements this interface
Until the APIs are correctly defined to support agents that start subconnetions, this class should also be derived in the nif
Public Member Functions | |
---|---|
TInt | EnumerateSubConnections ( TUint &) |
TInt | GetInterfaceType ( TConnectionType &) |
TInt | GetSubConnectionInfo ( TUint , TDes8 &) |
TInt | GetSubConnectionInfo ( TDes8 &) |
TInt | EnumerateSubConnections | ( | TUint & | aCount | ) | [pure virtual] |
Discover how many subconnections exist on an interface
All interfaces must support at least one subconnection
TUint & aCount | On return, contains the number of subconnections that currently exist on this interface |
TInt | GetInterfaceType | ( | TConnectionType & | aConnectionType | ) | [pure virtual] |
Find out the type of this connection (eg. CSD, GPRS, CDMA, Ethernet, some more specific subtype)
TConnectionType & aConnectionType | On return, contains the type of the connection |
TInt | GetSubConnectionInfo | ( | TUint | aIndex, |
TDes8 & | aSubConnectionInfo | |||
) | [pure virtual] |
Get information about a subconnection with no prior knowledge of the unique id of any subconnetion
aSubConnectionInfo should contain a class derived from TSubConnectionInfo ; the class should be suitable for type of interface being queried, however it is up to the interface to check this.
The type of the class can be determined by checking the iConnectionType member
Unique IDs for subconnections are on a per-nif basis. It is the responsibility of the nif or agent to generate these IDs and to ensure they are unique across the connection
TUint aIndex | A number between one and the total number of subconnections returned by EnumerateSubConnections() |
TDes8 & aSubConnectionInfo | Should contain a class derived from TSubConnectionInfo and suitable for the type of the interface being queried; on return, contains the class with all its members filled in |
TInt | GetSubConnectionInfo | ( | TDes8 & | aSubConnectionInfo | ) | [pure virtual] |
Get information about the subconnection with the supplied unique ID
aSubConnectionInfo should contain a class derived from TSubConnectionInfo ; the class should be suitable for type of interface being queried, however it is up to the interface to check this.
The type of the class can be determined by checking the iConnectionType member
TDes8 & aSubConnectionInfo | Should contain a class derived from TSubConnectionInfo and suitable for the type of the interface being queried, and with the iSubConnectionUniqueId member set to the appropriate unique ID |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.