TransportAgentTestLargeObject2 Class Reference

Used by testLargeObject2 test: It's reimplemented in order to simulate a Server communication: the syncML responses are read from xml files under testcases/testLargeObject2 dir. More...

#include <SyncManagerTest.h>

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

List of all members.

Public Member Functions

 TransportAgentTestLargeObject2 (URL &url, Proxy &proxy, unsigned int responseTimeout=DEFAULT_MAX_TIMEOUT, unsigned int maxmsgsize=DEFAULT_MAX_MSG_SIZE)
char * sendMessage (const char *msg)
 The main method, to send/receive messages.

Protected Member Functions

void beforeSendingMessage (StringBuffer &msgToSend)
 Can be reimplemented by derived classes, to execute actions before sending a SyncML message.
void afterReceivingResponse (StringBuffer &msgReceived)
 Can be reimplemented by derived classes, to execute actions after receiving a SyncML message.


Detailed Description

Used by testLargeObject2 test: It's reimplemented in order to simulate a Server communication: the syncML responses are read from xml files under testcases/testLargeObject2 dir.

Member Function Documentation

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

Can be reimplemented by derived classes, to execute actions after receiving a SyncML message.

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

Implements TransportAgentReplacement.

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

Can be reimplemented by derived classes, to execute actions before sending a SyncML message.

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

Implements TransportAgentReplacement.

char * TransportAgentTestLargeObject2::sendMessage ( const char *  msg  )  [virtual]

The main method, to send/receive messages.

It's reimplemented in order to simulate a Server communication: the syncML responses are read from xml files under testcases/testLargeObject2 dir.

Reimplemented from 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