UdpConnection Class Reference

#include <UdpConnection.h>

Inherits Connection.

Inherited by UdpServer.

Inheritance diagram for UdpConnection:

Inheritance graph
Collaboration diagram for UdpConnection:

Collaboration graph
List of all members.

Public Member Functions

 UdpConnection (const String &host, const String &service)
virtual ~UdpConnection ()
int setBroadcast (const bool yes=true)


class Poller

Detailed Description

Definition at line 15 of file UdpConnection.h.

Constructor & Destructor Documentation

UdpConnection::UdpConnection ( const String host,
const String service 

Definition at line 25 of file UdpConnection.cpp.

References CSTRING(), DEBUG, ERROR, ERROR_BACKTRACE(), FAILED(), Support::failure(), MSG_SOCKET_CANNOT_CREATE, Connection::setAddress(), Connection::setup(), and Socket::socket().

UdpConnection::~UdpConnection (  )  [virtual]

Definition at line 49 of file UdpConnection.cpp.

Member Function Documentation

int UdpConnection::setBroadcast ( const bool  yes = true  ) 

Definition at line 53 of file UdpConnection.cpp.

References Socket::_socket, ERROR, MSG_SOCKET_CANNOT_SET_OPTION, and OK.

Referenced by Syslog::Syslog().

Friends And Related Function Documentation

friend class Poller [friend]

Reimplemented from Connection.

Reimplemented in UdpServer.

Definition at line 18 of file UdpConnection.h.

The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:14:05 2007 for Pylon Application Platform by  doxygen 1.5.1