MediaSyncSourceParams Class Reference

Container for parameters used by this MediaSyncSource class. More...

#include <MediaSyncSource.h>

List of all members.

Public Member Functions

const StringBuffer & getUrl ()
const StringBuffer & getUsername ()
const StringBuffer & getSwv ()
const int getNextLUID ()
const unsigned int getFilterBySize ()
const unsigned long getFilterByDate ()
void setUrl (const StringBuffer &v)
void setUsername (const StringBuffer &v)
void setSwv (const StringBuffer &v)
void setNextLUID (const int v)
void setFilterBySize (const unsigned int v)
void setFilterByDate (const unsigned long v)

Private Attributes

StringBuffer url
 The Sync Server URL.
StringBuffer username
 The current username.
StringBuffer swv
 The current Client software version.
int nextLUID
 Incremental number, used as the next LUID of media items.
unsigned int filterBySize
 Can be set to enable a filter on media files (outgoing items only).
unsigned long filterByDate
 Can be set to enable a filter on media files (outgoing items only).


Detailed Description

Container for parameters used by this MediaSyncSource class.

Server URL, Username and Swv are stored inside the MediaSyncSource cache to check its validity before every sync. filterBySize and filterByDate can be set to specify dynamic file filtering.


Member Data Documentation

unsigned long MediaSyncSourceParams::filterByDate [private]

Can be set to enable a filter on media files (outgoing items only).

If not 0, media files modified AFTER this date will be filtered out (not synced) The value is a unix timestamp, in UTC (seconds since 1970-01-01)

unsigned int MediaSyncSourceParams::filterBySize [private]

Can be set to enable a filter on media files (outgoing items only).

If not 0, media files with size > filterBySize will be filtered out (not synced) The value is expressed in KBytes.

Incremental number, used as the next LUID of media items.

The MediaSyncSource will use (and then increment) this value to send a unique item's key to the Server.

StringBuffer MediaSyncSourceParams::swv [private]

The current Client software version.

StringBuffer MediaSyncSourceParams::url [private]

The Sync Server URL.

StringBuffer MediaSyncSourceParams::username [private]

The current username.


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

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