conexus logo

Conexus::SSL::IPv4::UDP Class Reference

#include <ipv4_udp.h>

Inheritance diagram for Conexus::SSL::IPv4::UDP:

Inheritance graph
[legend]

List of all members.

Public Types

typedef ConexusPointer< UDPpointer

Public Member Functions

 ~UDP () throw ()
virtual void open () throw ( open_exception )
virtual void connect () throw ( connect_exception )
virtual void connect (const Conexus::IPv4::Address &a) throw ( connect_exception )

Static Public Member Functions

static pointer create (Context::pointer context, uint16_t localport=0, uint16_t remoteport=0)
static pointer create (Context::pointer context, uint32_t local_if, uint16_t localport, uint16_t remoteport)
static pointer create (Context::pointer context, const std::string &local_if, uint16_t localport=0, uint16_t remoteport=0)

Protected Member Functions

virtual size_t write_data (const Data data, Timeout timeout) throw ( write_exception )
virtual Data read_data (size_t s, Timeout timeout) throw ( read_exception )

Protected Attributes

bool m_want_write
 Internally used when an SSL_read indicates that it needs to block on write.
bool m_want_read
 Similar to m_want_write, this is used to indicate a write blocked on a WANT_READ.

Private Member Functions

 UDP (Context::pointer context, uint32_t local_if, uint16_t localport, uint16_t remoteport)
 UDP (Context::pointer context, const std::string &local_if, uint16_t localport, uint16_t remoteport)


Detailed Description

Todo:
This class is only a preview and is not operational
Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Member Typedef Documentation

typedef ConexusPointer<UDP> Conexus::SSL::IPv4::UDP::pointer

Reimplemented from Conexus::IPv4::UDP.


Constructor & Destructor Documentation

Conexus::SSL::IPv4::UDP::UDP ( Context::pointer  context,
uint32_t  local_if,
uint16_t  localport,
uint16_t  remoteport 
) [private]

Conexus::SSL::IPv4::UDP::UDP ( Context::pointer  context,
const std::string &  local_if,
uint16_t  localport,
uint16_t  remoteport 
) [private]

Conexus::SSL::IPv4::UDP::~UDP (  )  throw () [virtual]

Reimplemented from Conexus::IPv4::UDP.


Member Function Documentation

void Conexus::SSL::IPv4::UDP::connect ( const Conexus::IPv4::Address a  )  throw ( connect_exception ) [virtual]

Reimplemented from Conexus::IPv4::UDP.

References Conexus::IPv4::UDP::connect().

void Conexus::SSL::IPv4::UDP::connect (  )  throw ( connect_exception ) [virtual]

Reimplemented from Conexus::IPv4::UDP.

References Conexus::SSL::SSL::ssl_connect().

UDP::pointer Conexus::SSL::IPv4::UDP::create ( Context::pointer  context,
const std::string &  local_if,
uint16_t  localport = 0,
uint16_t  remoteport = 0 
) [static]

UDP::pointer Conexus::SSL::IPv4::UDP::create ( Context::pointer  context,
uint32_t  local_if,
uint16_t  localport,
uint16_t  remoteport 
) [static]

UDP::pointer Conexus::SSL::IPv4::UDP::create ( Context::pointer  context,
uint16_t  localport = 0,
uint16_t  remoteport = 0 
) [static]

void Conexus::SSL::IPv4::UDP::open (  )  throw ( open_exception ) [virtual]

Data Conexus::SSL::IPv4::UDP::read_data ( size_t  s,
Timeout  timeout 
) throw ( read_exception ) [protected, virtual]

size_t Conexus::SSL::IPv4::UDP::write_data ( const Data  data,
Timeout  timeout 
) throw ( write_exception ) [protected, virtual]


Member Data Documentation

Similar to m_want_write, this is used to indicate a write blocked on a WANT_READ.

Again, with a write we are not concerned with a WANT_WRITE since that is the normal blocking condition.

Internally used when an SSL_read indicates that it needs to block on write.

For SSL_read we are not concerned with WANT_READ since the block on read is the normal condition when reading.


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

Generated on Wed Jul 8 15:51:29 2009 for conexus by doxygen 1.5.8