CRtpCommSend Class Reference

class CRtpCommSend : public CActive

Class definition for sending

RtpService.dll

Inherits from

Constructor & Destructor Documentation

CRtpCommSend(RSocket &, MRtpErrNotify &, TInetAddr &)

CRtpCommSend(RSocket &aSocket,
MRtpErrNotify &aErrNotify,
TInetAddr &aAddr
)[private]

Parameters

RSocket & aSocket
MRtpErrNotify & aErrNotify
TInetAddr & aAddr

~CRtpCommSend()

~CRtpCommSend()

Member Functions Documentation

CancelAsyncSend()

voidCancelAsyncSend()

CompleteAndRemoveRequests(TInt)

voidCompleteAndRemoveRequests(TIntaError)[private]
Complete and remove queue items.
Since
S60 3.2.3

Parameters

TInt aErrorcompletion code

CompleteClientRequest(CRtpSendItem &, TInt)

voidCompleteClientRequest(CRtpSendItem &aItem,
TIntaReason
)const [private]
Complete client's request.
Since
S60 3.2.3

Parameters

CRtpSendItem & aItemsend item
TInt aReasoncompletion code

ConstructL()

voidConstructL()[private]

DoCancel()

voidDoCancel()[protected, virtual]

Cancel any outstanding operation

NewL(RSocket &, MRtpErrNotify &, TInetAddr &)

CRtpCommSend *NewL(RSocket &aSocket,
MRtpErrNotify &aErrNotify,
TInetAddr &aAddr
)[static]

Parameters

RSocket & aSocket
MRtpErrNotify & aErrNotify
TInetAddr & aAddr

RemoveFromQueue()

voidRemoveFromQueue()[private]

Remove Item From Queue

RunL()

voidRunL()[protected, virtual]

Called when operation complete

Send(const TDesC8 &)

TInt Send(const TDesC8 &aPacket)

Parameters

const TDesC8 & aPacket

Send(const TDesC8 &, TRequestStatus &)

voidSend(const TDesC8 &aPacket,
TRequestStatus &aStatus
)

Parameters

const TDesC8 & aPacket
TRequestStatus & aStatus

SendNextPacket()

voidSendNextPacket()[private]

Handle a 'write buffer empty' situation.

SetToAddress(TInetAddr &)

voidSetToAddress(TInetAddr &aAddr)

Parameters

TInetAddr & aAddr

Member Enumerations Documentation

Enum TWriteState

Enumerators

ESending
EWaiting
ECommsFailed

Member Data Documentation

TPtrC8 iBufPtr

TPtrC8 iBufPtr[private]

TSglQueIter< CRtpSendItem > iQueueIter

TSglQueIter< CRtpSendItem >iQueueIter[private]

List iterator - needed to delete all the items

MRtpErrNotify & iRtpErrNotify

MRtpErrNotify &iRtpErrNotify[private]

TSglQue< CRtpSendItem > iSendQue

TSglQue< CRtpSendItem >iSendQue[private]

RSocket & iSocket

RSocket &iSocket[private]

TInetAddr iToAddr

TInetAddr iToAddr[private]

TWriteState iWriteStatus

TWriteState iWriteStatus[private]