Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: smsustrm.h
Link against: smsu.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class RSmsSocketBuf

class RSmsSocketBuf : public TStreamBuf;

Description

An SMS stream buffer to read and write over a socket.

Derivation

Members

Defined in RSmsSocketBuf:
DoSynchL(), OverflowL(), UnderflowL()

Inherited from MStreamBuf:
Close(), DoRelease(), DoSeekL(), ERead, EWrite, PushL(), Read(), ReadL(), Release(), SeekL(), SizeL(), Synch(), SynchL(), TMark, TRead, TWrite, TellL(), Write(), WriteL()

Inherited from TStreamBuf:
Avail(), DoReadL(), DoWriteL(), End(), Ptr(), SetBuf(), SetEnd(), SetPtr(), TArea


Member functions


UnderflowL()

private: virtual TInt UnderflowL(TInt aMaxLength);

Description

Fills the buffer's read area from the socket.

TODO check this

Parameters

TInt aMaxLength

Unused

Return value

TInt

The length of the buffer

Leave codes

The

function panics if the socket is not readable.


OverflowL()

private: virtual void OverflowL();

Description

Empties the buffer and sets up the buffer's write area.

The function panics if the socket is not writable.


DoSynchL()

private: virtual void DoSynchL();

Description

Synchronises the stream buffer with the stream, leaving if any error occurs.