fastdo  0.6.8
eiennet::SocketStreamBuf类 参考

#include <eiennet_socket.hpp>

类 eiennet::SocketStreamBuf 继承关系图:
eiennet::SocketStreamBuf 的协作图:

Public 成员函数

 SocketStreamBuf (eiennet::Socket *sock, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out, size_t inputBufSize=(size_t)-1, size_t outputBufSize=(size_t)-1)
 
virtual ~SocketStreamBuf ()
 
SocketgetSocket () const
 

Protected 成员函数

virtual int_type underflow ()
 
virtual int_type overflow (int_type c)
 
virtual int sync ()
 
int _flush ()
 

详细描述

brief 套接字流缓冲区

在文件 eiennet_socket.hpp569 行定义.

构造及析构函数说明

eiennet::SocketStreamBuf::SocketStreamBuf ( eiennet::Socket sock,
std::ios_base::openmode  mode = std::ios_base::in|std::ios_base::out,
size_t  inputBufSize = (size_t)-1,
size_t  outputBufSize = (size_t)-1 
)
virtual eiennet::SocketStreamBuf::~SocketStreamBuf ( )
virtual

成员函数说明

int eiennet::SocketStreamBuf::_flush ( )
protected
Socket* eiennet::SocketStreamBuf::getSocket ( ) const
inline

在文件 eiennet_socket.hpp581 行定义.

virtual int_type eiennet::SocketStreamBuf::overflow ( int_type  c)
protectedvirtual
virtual int eiennet::SocketStreamBuf::sync ( )
protectedvirtual
virtual int_type eiennet::SocketStreamBuf::underflow ( )
protectedvirtual

该类的文档由以下文件生成: