|
|
|
|
Location:
smsustrm.h
Link against: smsu.lib
class RSmsSocketBuf : public TStreamBuf;
An SMS stream buffer to read and write over a socket.
MStreamBuf - A stream buffer that provides a generic I/O interface for streamed data
TStreamBuf - Adds buffering capabilities to a stream buffer
RSmsSocketBuf - An SMS stream buffer to read and write over a socket
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
private: virtual TInt UnderflowL(TInt aMaxLength);
Fills the buffer's read area from the socket.
TODO check this
|
|
|
private: virtual void OverflowL();
Empties the buffer and sets up the buffer's write area.
The function panics if the socket is not writable.
private: virtual void DoSynchL();
Synchronises the stream buffer with the stream, leaving if any error occurs.