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()

void CancelAsyncSend ( )

CompleteAndRemoveRequests(TInt)

void CompleteAndRemoveRequests ( TInt aError ) [private]
Complete and remove queue items.
Since
S60 3.2.3

Parameters

TInt aError completion code

CompleteClientRequest(CRtpSendItem &, TInt)

void CompleteClientRequest ( CRtpSendItem & aItem,
TInt aReason
) const [private]
Complete client's request.
Since
S60 3.2.3

Parameters

CRtpSendItem & aItem send item
TInt aReason completion code

ConstructL()

void ConstructL ( ) [private]

DoCancel()

void DoCancel ( ) [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()

void RemoveFromQueue ( ) [private]

Remove Item From Queue

RunL()

void RunL ( ) [protected, virtual]

Called when operation complete

Send(const TDesC8 &)

TInt Send ( const TDesC8 & aPacket )

Parameters

const TDesC8 & aPacket

Send(const TDesC8 &, TRequestStatus &)

void Send ( const TDesC8 & aPacket,
TRequestStatus & aStatus
)

Parameters

const TDesC8 & aPacket
TRequestStatus & aStatus

SendNextPacket()

void SendNextPacket ( ) [private]

Handle a 'write buffer empty' situation.

SetToAddress(TInetAddr &)

void SetToAddress ( 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]