adchpp::SocketStream< T > Class Template Reference

Inheritance diagram for adchpp::SocketStream< T >:
Inheritance graph
[legend]
Collaboration diagram for adchpp::SocketStream< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::function< void(const
boost::system::error_code &ec,
size_t)> 
Handler

Public Member Functions

virtual size_t available ()
virtual void close ()
virtual void prepareRead (const BufferPtr &buf, const Handler &handler)
virtual size_t read (const BufferPtr &buf)
template<typename X , typename Y >
 SocketStream (X &x, Y &y)
template<typename X >
 SocketStream (X &x)
virtual void write (const BufferList &bufs, const Handler &handler)

Public Attributes

sock

Detailed Description

template<typename T>
class adchpp::SocketStream< T >

Definition at line 53 of file SocketManager.cpp.


Member Typedef Documentation

typedef std::function<void (const boost::system::error_code& ec, size_t)> adchpp::AsyncStream::Handler [inherited]

Definition at line 22 of file AsyncStream.h.


Constructor & Destructor Documentation

template<typename T >
template<typename X >
adchpp::SocketStream< T >::SocketStream ( X &  x  )  [inline]

Definition at line 56 of file SocketManager.cpp.

template<typename T >
template<typename X , typename Y >
adchpp::SocketStream< T >::SocketStream ( X &  x,
Y &  y 
) [inline]

Definition at line 59 of file SocketManager.cpp.


Member Function Documentation

template<typename T >
virtual size_t adchpp::SocketStream< T >::available (  )  [inline, virtual]

Implements adchpp::AsyncStream.

Definition at line 62 of file SocketManager.cpp.

References adchpp::SocketStream< T >::sock.

template<typename T >
virtual void adchpp::SocketStream< T >::close (  )  [inline, virtual]

Implements adchpp::AsyncStream.

Definition at line 99 of file SocketManager.cpp.

References adchpp::SocketStream< T >::sock.

template<typename T >
virtual void adchpp::SocketStream< T >::prepareRead ( const BufferPtr buf,
const Handler handler 
) [inline, virtual]

Implements adchpp::AsyncStream.

Definition at line 66 of file SocketManager.cpp.

References adchpp::SocketStream< T >::sock.

template<typename T >
virtual size_t adchpp::SocketStream< T >::read ( const BufferPtr buf  )  [inline, virtual]

Implements adchpp::AsyncStream.

Definition at line 74 of file SocketManager.cpp.

References adchpp::SocketStream< T >::sock.

template<typename T >
virtual void adchpp::SocketStream< T >::write ( const BufferList bufs,
const Handler handler 
) [inline, virtual]

Implements adchpp::AsyncStream.

Definition at line 78 of file SocketManager.cpp.

References adchpp::SocketStream< T >::sock.


Member Data Documentation

template<typename T >
T adchpp::SocketStream< T >::sock
Generated on Sat Nov 27 23:38:54 2010 for adchpp by  doxygen 1.6.3