Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

basic_netbuf_interface< charT, traits > Class Template Reference

#include <netstream.h>

Inheritance diagram for basic_netbuf_interface< charT, traits >:

Detailed Description

template<class charT, class traits = std::char_traits<charT>>
class basic_netbuf_interface< charT, traits >

Definition at line 226 of file netstream.h.

List of all members.

Public Member Functions

 basic_netbuf_interface ()
 basic_netbuf_interface (const IPaddr::ipname_t &host, const IPaddr::ipport_t port, bool datagram)
 basic_netbuf_interface (const IPaddr &addr, bool datagram)
 basic_netbuf_interface (size_t buf_in_size, size_t buf_out_size)
bool open (const IPaddr &addr, bool datagram=false)
bool open (const IPaddr::ipname_t &str, bool datagram=false)
bool open (const IPaddr::ipname_t &ahost, unsigned int aPort, bool datagram=false)
bool listen (unsigned int aPort, bool datagram=false)
bool listen (const IPaddr &addr, bool datagram=false)
bool is_connecting () const
bool is_open () const
void update_status ()
void close ()
void reset ()
void setReconnect (bool reconnect)
bool getReconnect () const
void setEcho (bool val=true)
bool getEcho ()
const IPaddrgetPeerAddress () const
const IPaddrgetLocalAddress () const
basic_netbuf< charT, traits > * rdbuf () const

Protected Member Functions

virtual ~basic_netbuf_interface ()

Protected Attributes

basic_netbuf< charT, traits > nb

Constructor & Destructor Documentation

template<class charT , class traits = std::char_traits<charT>>
basic_netbuf_interface< charT, traits >::basic_netbuf_interface (  ) 

Definition at line 228 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
basic_netbuf_interface< charT, traits >::basic_netbuf_interface ( const IPaddr::ipname_t host,
const IPaddr::ipport_t  port,
bool  datagram 
)

Definition at line 229 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
basic_netbuf_interface< charT, traits >::basic_netbuf_interface ( const IPaddr addr,
bool  datagram 
)

Definition at line 230 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
basic_netbuf_interface< charT, traits >::basic_netbuf_interface ( size_t  buf_in_size,
size_t  buf_out_size 
)

Definition at line 231 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
virtual basic_netbuf_interface< charT, traits >::~basic_netbuf_interface (  )  [protected, virtual]

Definition at line 258 of file netstream.h.


Member Function Documentation

template<class charT , class traits = std::char_traits<charT>>
void basic_netbuf_interface< charT, traits >::close (  ) 

Definition at line 243 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::getEcho (  ) 

Definition at line 250 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
const IPaddr& basic_netbuf_interface< charT, traits >::getLocalAddress (  )  const

Definition at line 253 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
const IPaddr& basic_netbuf_interface< charT, traits >::getPeerAddress (  )  const

Definition at line 252 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::getReconnect (  )  const

Definition at line 247 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::is_connecting (  )  const

Definition at line 239 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::is_open (  )  const

Definition at line 240 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::listen ( const IPaddr addr,
bool  datagram = false 
)

Definition at line 237 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::listen ( unsigned int  aPort,
bool  datagram = false 
)

Definition at line 236 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::open ( const IPaddr::ipname_t ahost,
unsigned int  aPort,
bool  datagram = false 
)

Definition at line 235 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::open ( const IPaddr::ipname_t str,
bool  datagram = false 
)

Definition at line 234 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
bool basic_netbuf_interface< charT, traits >::open ( const IPaddr addr,
bool  datagram = false 
)

Definition at line 233 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
basic_netbuf<charT, traits>* basic_netbuf_interface< charT, traits >::rdbuf (  )  const

Definition at line 255 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
void basic_netbuf_interface< charT, traits >::reset (  ) 

Definition at line 244 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
void basic_netbuf_interface< charT, traits >::setEcho ( bool  val = true  ) 

Definition at line 249 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
void basic_netbuf_interface< charT, traits >::setReconnect ( bool  reconnect  ) 

Definition at line 246 of file netstream.h.

template<class charT , class traits = std::char_traits<charT>>
void basic_netbuf_interface< charT, traits >::update_status (  ) 

Definition at line 241 of file netstream.h.


Member Data Documentation


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:05 2016 by Doxygen 1.6.3