nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
nds_impl::Socket::SocketHandle Class Reference

#include <socket.hh>

Public Types

typedef detail::socket_type socket_type
 

Public Member Functions

 SocketHandle ()
 
 SocketHandle (socket_type s)
 
 SocketHandle (const SocketHandle &other)=default
 
void reset (socket_type fd)
 
socket_type release ()
 
socket_type get () const
 
void swap (SocketHandle &other)
 
bool good () const
 
void write_all (const char *start, const char *end)
 
char * read_available (char *start, char *end)
 

Private Attributes

socket_type s_
 

Member Typedef Documentation

Constructor & Destructor Documentation

nds_impl::Socket::SocketHandle::SocketHandle ( )
inline
nds_impl::Socket::SocketHandle::SocketHandle ( socket_type  s)
inline
nds_impl::Socket::SocketHandle::SocketHandle ( const SocketHandle other)
default

Member Function Documentation

socket_type nds_impl::Socket::SocketHandle::get ( ) const
inline
bool nds_impl::Socket::SocketHandle::good ( ) const
inline
char * nds_impl::Socket::SocketHandle::read_available ( char *  start,
char *  end 
)
inline
socket_type nds_impl::Socket::SocketHandle::release ( )
inline
void nds_impl::Socket::SocketHandle::reset ( socket_type  fd)
inline
void nds_impl::Socket::SocketHandle::swap ( SocketHandle other)
inline
void nds_impl::Socket::SocketHandle::write_all ( const char *  start,
const char *  end 
)
inline

Member Data Documentation

socket_type nds_impl::Socket::SocketHandle::s_
private

The documentation for this class was generated from the following file: