MRemConBearerBulkInterface Class Reference
class MRemConBearerBulkInterface |
Mixin for the bearer API.
Public Member Functions |
---|
void | MrcbbiBulkClientAvailable(const TRemConClientId &) |
void | MrcbbiBulkClientNotAvailable(const TRemConClientId &) |
TInt
| MrcbbiGetCommand(TUid &, TUint &, TUint &, RBuf8 &, TRemConAddress &) |
void | MrcbbiSendReject(TUid, TUint, TUint, const TRemConAddress &) |
TInt
| MrcbbiSendResponse(TUid, TUint, TUint, RBuf8 &, const TRemConAddress &) |
TInt
| MrcbbiStartBulk(MRemConBearerBulkObserver &) |
void | MrcbbiStopBulk() |
Member Functions Documentation
MrcbbiBulkClientAvailable(const TRemConClientId &)
Called by RemCon when a bulk client becomes available. The provided client ID will be shared with the associated control client.
Parameters
const TRemConClientId & aId | The ID of the bulk client that has become available. |
MrcbbiBulkClientNotAvailable(const TRemConClientId &)
Called by RemCon when a bulk client is no longer available.
Parameters
const TRemConClientId & aId | The ID of the bulk client that is no longer available. |
MrcbbiGetCommand(TUid &, TUint &, TUint &, RBuf8 &, TRemConAddress &)
Called by RemCon to retrieve a command on a connection. Must only be called as a result of a NewCommand up-call.
Parameters
TUid & aInterfaceUid | The UID of the outer-layer client API specifying the command. |
TUint & aTransactionId | The command identifier used as a cookie for command/response matching. |
TUint & aOperationId | The ID of the command operation in the outer-layer client API. |
RBuf8 & aData | API-specific message data. On success, ownership is returned. |
TRemConAddress & aAddr | The connection. |
MrcbbiSendReject(TUid, TUint, TUint, const TRemConAddress &)
Called by RemCon when all appropriate clients disconnect from remcon before the response is sent.
Parameters
TUid aInterfaceUid | The UID of the outer-layer client API that the command was sent to |
TUint aOperationId | The ID of the command operation sent to remcon |
TUint aTransactionId | |
const TRemConAddress & aAddr | The connection. |
MrcbbiSendResponse(TUid, TUint, TUint, RBuf8 &, const TRemConAddress &)
Called by RemCon to send a response on a connection. The connection is not assumed to exist- the bearer is responsible for bringing up the requested connection if necessary.
Parameters
TUid aInterfaceUid | The UID of the outer-layer client API specifying the response. |
TUint aOperationId | The ID of the response operation in the outer-layer client API. |
TUint aTransactionId | The command identifier used as a cookie for command/response matching |
RBuf8 & aData | API-specific message data. On success, ownership is passed. |
const TRemConAddress & aAddr | The connection. |
MrcbbiStartBulk(MRemConBearerBulkObserver &)
Called by RemCon to initialise the bulk service. This call will be made in the context of the bulk server thread.
MrcbbiStopBulk()
void | MrcbbiStopBulk | ( | ) | [pure virtual] |
Called by RemCon to disable the bulk service. This call will be made in the context of the bulk server thread. The bearer should use this opportunity to cancel any outstanding bulk services.
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.