Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 555 Bytes
//
// TDPusher.h
// TouchDB
//
// Created by Jens Alfke on 12/5/11.
// Copyright (c) 2011 Couchbase, Inc. All rights reserved.
//
#import "TDPuller.h"
#import <TouchDB/TD_Database.h>
/** Replicator that pushes to a remote CouchDB. */
@interface TDPusher : TDReplicator
{
BOOL _createTarget;
BOOL _creatingTarget;
BOOL _observing;
BOOL _uploading;
NSMutableArray* _uploaderQueue;
BOOL _dontSendMultipart;
NSMutableIndexSet* _pendingSequences;
SequenceNumber _maxPendingSequence;
}
@property BOOL createTarget;
@end