#include <SyncManagerTest.h>
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). |
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).
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.
msgToSend | [IN-OUT] the syncML message formatted by SyncManager, to send to the Server |
Implements TransportAgentReplacement.