MProviderNotify Class Reference
class MProviderNotify : public MInetBase
|
Receiver of the notifications of the status changes in the flow.
Note that the two functions
CanSend()
and
Error()
are a subset of
MSocketNotify
. This allows a Service Access Point to implement the interface just by calling the equivalent
MSocketNotify
functions.
-
Since
-
v7.0
Member Functions Documentation
Bearer(const TDesC8 &)
void
|
Bearer
|
(
|
const
TDesC8
&
|
aConnectionInfo
|
)
|
[pure virtual]
|
Parameters
const
TDesC8
& aConnectionInfo
|
|
CanSend()
void
|
CanSend
|
(
|
)
|
[pure virtual]
|
Flags that the flow might be ready to change into the EFlow_READY status
The flow is (or has been) in EFlow_PENDING or EFlow_HOLD state. The flow owner can now check if flow really can be changed into EFlow_READY state. The state is updated by calling
RFlowContext::Status
(or some other functions that implicitly refresh the flow state by calling internally the
CFlowContext::RefreshFlow
function).
Even if this function is called, the flow can still be in error or blocked state. This is because, for example, when congestion clears, all flows waiting for that event are notified, but some earlier notified flow may already have refilled all the buffers.
CheckPolicy(const TSecurityPolicy &, const char *)
Error(TInt, TUint)
void
|
Error
|
(
|
TInt
|
aError,
|
|
TUint
|
anOperationMask = MSocketNotify::EErrorAllOperations
|
|
)
|
[pure virtual]
|
The flow has entered an error state.
Error state in a flow is permanent and requires a new connect (
CFlowContext::Connect
) to be cleared. A new connect occurs implicitly at FlowContext::Status (or some at some other functions), if flows connection parameters have been modified since the last connect (
CFlowContext::iChanged
is 1).
Parameters
TInt
aError
|
Flow error code
|
TUint
anOperationMask = MSocketNotify::EErrorAllOperations
|
A bitmask of MSocketNotify::TOperationBitmasks values specifying which pending operations are affected by the error up-call.
|
NoBearer(const TDesC8 &)
void
|
NoBearer
|
(
|
const
TDesC8
&
|
aConnectionParams
|
)
|
[pure virtual]
|
Parameters
const
TDesC8
& aConnectionParams
|
|
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.