CSuplSocketReader Class Reference

class CSuplSocketReader : public CActive

CSuplSocketReader is a class to read packets from the remote host

Provides an active object to perform SocketRead operation

EPosSuplProtocolHandlerPlugin.dll
Since
Series 60 3.1 //e.g. Series 60 3.0

Inherits from

Constructor & Destructor Documentation

CSuplSocketReader(CSecureSocket *, MSuplPacketNotifier *, TBool)

CSuplSocketReader ( CSecureSocket * aSocket,
MSuplPacketNotifier * aNotifier,
TBool aVariantEnabled
) [private]

C++ default constructor.- For TLS

Parameters

CSecureSocket * aSocket
MSuplPacketNotifier * aNotifier
TBool aVariantEnabled

CSuplSocketReader(RSocket &, MSuplPacketNotifier *, TBool)

CSuplSocketReader ( RSocket & aSocket,
MSuplPacketNotifier * aNotifier,
TBool aVariantEnabled
) [private]

C++ default constructor.- For without TLS

Parameters

RSocket & aSocket
MSuplPacketNotifier * aNotifier
TBool aVariantEnabled

~CSuplSocketReader()

~CSuplSocketReader ( ) [virtual]

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoCancel()

void DoCancel ( ) [protected, virtual]

From CActive To cancel the asynchronous requests

IssueRead()

void IssueRead ( )
Send.
Since
Series 60 3.1M

NewL(CSecureSocket *, MSuplPacketNotifier *, TBool)

CSuplSocketReader * NewL ( CSecureSocket * aSocket,
MSuplPacketNotifier * aNotifier,
TBool aVariantEnabled
) [static]

Two-phased constructor.- For TLS

Parameters

CSecureSocket * aSocket
MSuplPacketNotifier * aNotifier
TBool aVariantEnabled

NewL(RSocket &, MSuplPacketNotifier *, TBool)

CSuplSocketReader * NewL ( RSocket & aSocket,
MSuplPacketNotifier * aNotifier,
TBool aVariantEnabled
) [static]

Two-phased constructor.- For without TLS

Parameters

RSocket & aSocket
MSuplPacketNotifier * aNotifier
TBool aVariantEnabled

RunL()

void RunL ( ) [protected, virtual]

From CActive To handle request completion

SetPortNum(TUint)

void SetPortNum ( TUint aPortNum )

Parameters

TUint aPortNum

Member Data Documentation

RBuf8 iAdditionalReadBuffer

RBuf8 iAdditionalReadBuffer [private]

RSocket iDummySocket

RSocket iDummySocket [private]

TSockXfrLength iMsgLength

TSockXfrLength iMsgLength [private]

TUint iPortNum

TUint iPortNum [private]

TBool iReRead

TBool iReRead [private]

RBuf8 iReadBuffer

RBuf8 iReadBuffer [private]

MSuplPacketNotifier * iReadNotifier

MSuplPacketNotifier * iReadNotifier [private]

CSecureSocket * iSecureSocket

CSecureSocket * iSecureSocket [private]

RSocket & iSocket

RSocket & iSocket [private]

CSuplConnTrace * iTrace

CSuplConnTrace * iTrace [private]

TBool iVariantEnabled

TBool iVariantEnabled [private]