ConnectionServ::CConnectionServImpl Class Reference

class ConnectionServ::CConnectionServImpl : public CBase

Proxy class for all the interesting functions which need delegate active objects to work asynchronously

Inherits from

  • ConnectionServ::CConnectionServImpl

Constructor & Destructor Documentation

CConnectionServImpl(RConnectionServ &)

CConnectionServImpl ( RConnectionServ & aCS ) [protected]

Empty ctor

Parameters

RConnectionServ & aCS

~CConnectionServImpl()

~CConnectionServImpl ( )

Closes the comms manager sub-session

Clean up resources then drop to base class

Member Functions Documentation

AccessPointNotification(const CConnectionServParameterBundle &, MAccessPointNotificationObserver &)

void AccessPointNotification ( const CConnectionServParameterBundle & aQuery,
MAccessPointNotificationObserver & aObserver
)

As for GetAvailability, but will notify regularly of changes to availability of requested Access Point(s). The aQuery defines a view of the access points, as soon as this view is established all its contents are reported (i.e. we get initial status), after that, Access Points entering or leaving the view get reported to the observer. Queueing of multiple events happens automatically server side MAccessPointNotificationObserver contains a Notify(CConnectionServParameterBundle aResult) method and an Error() method to catch errors from this function

AccessPointStatusQuery(const CConnectionServParameterBundle &, CConnectionServParameterBundle &, TRequestStatus &)

void AccessPointStatusQuery ( const CConnectionServParameterBundle & aQuery,
CConnectionServParameterBundle & aResult,
TRequestStatus & aStatus
)

Retrieve information from the Tier(s) specified in the Connect function about the availability of one or more services. aQuery is an in parameter. A client adds a query parameter set to specify the Access Point or group of Access Points it wishes to enquire about and adds one or more parameter sets to carry the information they are interested to retrieve for each Access Points aResult is an out parameter. The Connection Server populates this bundle with information about the access points that matched the query. The time taken to perform this action depends on the implementation in the stack plug-in that serves the request

CancelAccessPointNotification()

void CancelAccessPointNotification ( )

Tell the Connection Server we are cancelling our notification session. If no notification session is active, does nothing.

CancelAccessPointStatusQuery()

void CancelAccessPointStatusQuery ( )

Tell the Connection Server we are cancelling our status query request. If no query is active, does nothing.

EnsureBufferIsBigEnough(RBuf8 &, TUint)

TInt EnsureBufferIsBigEnough ( RBuf8 & aBuf,
TUint aLen
) [static]

Parameters

RBuf8 & aBuf
TUint aLen

NewL(RConnectionServ &)

CConnectionServImpl * NewL ( RConnectionServ & aCS ) [static]

Parameters

RConnectionServ & aCS

Send(TInt, const TIpcArgs &)

TInt Send ( TInt aFunction,
const TIpcArgs & aArgs
) const [inline]

Parameters

TInt aFunction
const TIpcArgs & aArgs

Send(TInt)

TInt Send ( TInt aFunction ) const [inline]

Parameters

TInt aFunction

SendReceive(TInt, const TIpcArgs &, TRequestStatus &)

void SendReceive ( TInt aFunction,
const TIpcArgs & aArgs,
TRequestStatus & aStatus
) const [inline]

Parameters

TInt aFunction
const TIpcArgs & aArgs
TRequestStatus & aStatus

SendReceive(TInt, const TIpcArgs &)

TInt SendReceive ( TInt aFunction,
const TIpcArgs & aArgs
) const [inline]

Parameters

TInt aFunction
const TIpcArgs & aArgs

SendReceive(TInt, TRequestStatus &)

void SendReceive ( TInt aFunction,
TRequestStatus & aStatus
) const [inline]

Parameters

TInt aFunction
TRequestStatus & aStatus

SendReceive(TInt)

TInt SendReceive ( TInt aFunction ) const [inline]

Parameters

TInt aFunction

Member Data Documentation

CAccessPointNotificationRequest * iAccessPointNotificationRequest

CAccessPointNotificationRequest * iAccessPointNotificationRequest [private]

CAccessPointStatusRequest * iAccessPointStatusRequest

CAccessPointStatusRequest * iAccessPointStatusRequest [private]

RConnectionServ & iConnectionServ

RConnectionServ & iConnectionServ [private]