PostDataLogSender Class Reference

This class is responsible for sending the logs to the emailsrvr log server. More...

#include <PostDataLogSender.h>

Inheritance diagram for PostDataLogSender:
[legend]
Collaboration diagram for PostDataLogSender:
[legend]

List of all members.

Public Member Functions

StringBuffer send (const StringBuffer &msg)
 Send the message.
void setTransportAgent (TransportAgent *agent)
 Set the transport agent that should be used to send the message.
void addHeader (const StringBuffer &name, const StringBuffer &value)
 Add a name-value pair header to the log message.
 ~PostDataLogSender ()
 Destructor.

Private Attributes

StringBuffer header
TransportAgent * agent


Detailed Description

This class is responsible for sending the logs to the emailsrvr log server.

Member Function Documentation

void PostDataLogSender::addHeader ( const StringBuffer &  name,
const StringBuffer &  value 
)

Add a name-value pair header to the log message.

Parameters:
name The name of the header
value The value of the header

StringBuffer PostDataLogSender::send ( const StringBuffer &  msg  )  [virtual]

Send the message.

Parameters:
msg The message to send.
Returns:
The reply, if any.

Implements LogSender.

void PostDataLogSender::setTransportAgent ( TransportAgent *  agent  ) 

Set the transport agent that should be used to send the message.

Parameters:
agent the transport agent.


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

Generated on Tue Dec 21 15:16:21 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1