Class s.d.s.SynchronizationClient(object):

Part of stoqlib.database.synchronization View In Hierarchy

No class docstring
Method __init__ Undocumented
Method _dump_tables Undocumented
Method _get_policy Undocumented
Method _get_station Undocumented
Method _get_synchronization Undocumented
Method _update_synchronization Undocumented
Method _sql_send Undocumented
Method _get_last_timestamp Undocumented
Method _insert_one Undocumented
Method _update_one Undocumented
Method _bump_id_sequences Undocumented
Method _has_update_conflict Undocumented
Method clean Undocumented
Method get_station_name Undocumented
Method update Update client.
Method clone Clones the database of the current machine and sends over the complete
Method quit Undocumented
Method disable_commit Disables committing and sending data to the server
def __init__(self, hostname, port):
Undocumented
def _dump_tables(self, tables):
Undocumented
def _get_policy(self, policy):
Undocumented
def _get_station(self, conn, name):
Undocumented
def _get_synchronization(self, trans, branch):
Undocumented
def _update_synchronization(self, trans, station, timestamp, policy):
Undocumented
def _sql_send(self, iterator):
Undocumented
def _get_last_timestamp(self, trans, station_name):
Undocumented
def _insert_one(self, trans, table, obj_id, attrs):
Undocumented
def _update_one(self, trans, table, obj_id, attrs):
Undocumented
def _bump_id_sequences(self, station, policy):
Undocumented
def _has_update_conflict(self, trans, obj, station, last_sync, attrs):
Undocumented
def clean(self):
Undocumented
def get_station_name(self):
Undocumented
def update(self, station_name):
Update client.
Parametersstation_name
def clone(self, station_name, transaction=None):
Clones the database of the current machine and sends over the complete state to the client as raw SQL commands.
Parametersstation_name
def quit(self):
Undocumented
def disable_commit(self):
Disables committing and sending data to the server
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.