class MNifAgentNotify |
Interface from the agent to Nifman
since v9.5. Use MCPRs/CPRs/SCPRs instead of agents.
Public Member Functions | |
---|---|
void | AgentEvent(TNetworkAdaptorEventType, TUint, const TDesC8 &, TAny *) |
void | AgentProgress(TInt, TInt) |
void | AgentProgress(TSubConnectionUniqueId, TInt, TInt) |
void | AuthenticateComplete(TInt) |
void | ConnectComplete(TInt) |
void | DisconnectComplete() |
TInt | IncomingConnectionReceived() |
TInt | Notification(TAgentToNifEventType, TAny *) |
void | ReconnectComplete(TInt) |
void | ServiceClosed() |
void | ServiceStarted() |
void | AgentEvent | ( | TNetworkAdaptorEventType | aEventType, |
TUint | aEvent, | |||
const TDesC8 & | aEventData, | |||
TAny * | aSource = 0 | |||
) | [pure virtual] |
Indication that some parameter relating to a subconnection has changed in the agent eg. new subconnection opened, QoS changed v7.0s
TNetworkAdaptorEventType aEventType | The type of the event |
TUint aEvent | The event which has occured |
const TDesC8 & aEventData | Any arguments or additional data to do with the event; the interpretation of this depends on the event |
TAny * aSource = 0 | An appropriate identifier of the source of the event - this will be used when one receiver is receiving events from many producers |
void | AgentProgress | ( | TInt | aStage, |
TInt | aError | |||
) | [pure virtual] |
Progress notification from an agent for a connection v5.0
void | AgentProgress | ( | TSubConnectionUniqueId | aSubConnectionUniqueId, |
TInt | aStage, | |||
TInt | aError | |||
) | [pure virtual] |
This function will not be called until agents support starting subconnections
TSubConnectionUniqueId aSubConnectionUniqueId | The subconnection to which this notification refers |
TInt aStage | The progress stage that has been reached |
TInt aError | Any errors that have occured |
void | AuthenticateComplete | ( | TInt | aStatus | ) | [pure virtual] |
Indication that the agent has finished authenticating
TInt aStatus | The error code, if any, from the reconnection attempt |
void | ConnectComplete | ( | TInt | aStatus | ) | [pure virtual] |
Callback to indicate that the agent has finished its connection phase, and is ready to pass control to the nif
TInt aStatus | The error code generated by this phase of connection startup |
TInt | IncomingConnectionReceived | ( | ) | [pure virtual] |
Needs to be called by the agent when it gets an incoming call so that agent can wait for an incoming and do an outgoing at the same time, i.e. it waits for the incoming without NifMan's knowledge
TInt | Notification | ( | TAgentToNifEventType | aEvent, |
TAny * | aInfo = NULL | |||
) | [pure virtual] |
Notification of an event from the nif KErrNone if successful, otherwise one of the system-wide error codes
SC with previous releases broken in v6.1 when first argument changed type
TAgentToNifEventType aEvent | The type of event that occured |
TAny * aInfo = NULL | Any data associated with the event |
void | ReconnectComplete | ( | TInt | aStatus | ) | [pure virtual] |
Obviously, this is only used in situations where the agent has received a request to reconnect
TInt aStatus | The error code, if any, from the reconnection attempt |
void | ServiceStarted | ( | ) | [pure virtual] |
This call will cause nifman to load and bind the nif
This does not mean that the connection is ready for use by the nif yet - the nif is handed control after ConnectComplete()