The Micro C++ Library
micxx::InetDatagram Class Reference

An InetDatagram represents an UDP Internet Protocol (IP) specific Datagram. More...

#include <micxx.hxx>

Inherits micxx::Datagram.

List of all members.

Public Member Functions

 InetDatagram (std::size_t size=0)
 Create an empty InetDatagram with initial size and capacity size, a default source and a default destination address.
virtual void setDstAddress (const SocketAddress *adstAddress)
 Set the destination address to a copy of adstAddress, but only if adstAddress points to an InetAddress instance.
virtual void setSrcAddress (const SocketAddress *asrcAddress)
 Set the source address to a copy of asrcAddress, but only if asrcAddress points to an InetAddress instance.

Detailed Description

An InetDatagram represents an UDP Internet Protocol (IP) specific Datagram.

Author:
Norbert Klose
Date:
February, 2007

Constructor & Destructor Documentation

micxx::InetDatagram::InetDatagram ( std::size_t  size = 0)

Create an empty InetDatagram with initial size and capacity size, a default source and a default destination address.

Parameters:
sizeThe initial size and capacity.

Member Function Documentation

virtual void micxx::InetDatagram::setDstAddress ( const SocketAddress adstAddress) [virtual]

Set the destination address to a copy of adstAddress, but only if adstAddress points to an InetAddress instance.

See also:
Datagram::setDstAddress(const SocketAddress *)

Reimplemented from micxx::Datagram.

virtual void micxx::InetDatagram::setSrcAddress ( const SocketAddress asrcAddress) [virtual]

Set the source address to a copy of asrcAddress, but only if asrcAddress points to an InetAddress instance.

See also:
Datagram::setSrcAddress(const SocketAddress *)

Reimplemented from micxx::Datagram.


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