fesa::UdpLogger Class Reference

#include <UdpLogger.h>

List of all members.

Public Member Functions

 UdpLogger (const char *hostname, unsigned short &port, const bool connectMode)
 ~UdpLogger ()
int32_t sendStr (const char *msg)

Private Attributes

int32_t udpSock
struct sockaddr_in udpAttr
bool udpConn

Detailed Description

Definition at line 34 of file UdpLogger.h.


Constructor & Destructor Documentation

fesa::UdpLogger::UdpLogger ( const char *  hostname,
unsigned short &  port,
const bool  connectMode 
)

Parameters: . hostname : host-name of the UDP message receiver . port : port of the UDP channel . connectMode : true = to detect unreachable host

Definition at line 20 of file UdpLogger.cpp.

References udpAttr, udpConn, and udpSock.

fesa::UdpLogger::~UdpLogger (  ) 

Definition at line 89 of file UdpLogger.cpp.

References udpSock.


Member Function Documentation

int32_t fesa::UdpLogger::sendStr ( const char *  msg  ) 

Definition at line 100 of file UdpLogger.cpp.

References udpAttr, udpConn, and udpSock.

Referenced by fesa::FesaLogger::send(), and fesa::FesaLoggerBuffer::sync().


Member Data Documentation

struct sockaddr_in fesa::UdpLogger::udpAttr [read, private]

Definition at line 41 of file UdpLogger.h.

Referenced by sendStr(), and UdpLogger().

bool fesa::UdpLogger::udpConn [private]

Definition at line 43 of file UdpLogger.h.

Referenced by sendStr(), and UdpLogger().

int32_t fesa::UdpLogger::udpSock [private]

Definition at line 39 of file UdpLogger.h.

Referenced by sendStr(), UdpLogger(), and ~UdpLogger().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1