TransportAgentTestError506 Class Reference

This transportAgent will check all SyncML messages and do 2 things: More...

#include <SyncManagerTest.h>

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

List of all members.

Public Member Functions

 TransportAgentTestError506 (URL &url, Proxy &proxy, unsigned int responseTimeout=DEFAULT_MAX_TIMEOUT, unsigned int maxmsgsize=DEFAULT_MAX_MSG_SIZE)

Protected Member Functions

void beforeSendingMessage (StringBuffer &msgToSend)
 Checks the MsgID, to understand if the sync ended in a infinite loop.
void afterReceivingResponse (StringBuffer &msgReceived)
 Modifies the msg returned by the Server as a response to Clients calendar modifications, to simulate an exception Server side (code 506).


Detailed Description

This transportAgent will check all SyncML messages and do 2 things:

Member Function Documentation

void TransportAgentTestError506::afterReceivingResponse ( StringBuffer &  msgReceived  )  [protected, virtual]

Modifies the msg returned by the Server as a response to Clients calendar modifications, to simulate an exception Server side (code 506).

Parameters:
msgReceived [IN-OUT] the syncML message received from Server, to be returned to SyncManager

Implements TransportAgentReplacement.

void TransportAgentTestError506::beforeSendingMessage ( StringBuffer &  msgToSend  )  [protected, virtual]

Checks the MsgID, to understand if the sync ended in a infinite loop.

Parameters:
msgToSend [IN-OUT] the syncML message formatted by SyncManager, to send to the Server

Implements TransportAgentReplacement.


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

Generated on Tue Apr 6 13:00:43 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1