This adds the connective glue between CoreSync, Sync, CoreRemoteMongoClient, the DataSynchronizer, and the StitchAppClient.
App clients are now constructed with a NetworkMonitor (which defaults to the new DarwinNetworkMonitor class). StitchAppClientInfo will receive that network monitor, as well the StitchAppClientImpl, which now conforms to AuthMonitor. This is passed upstream to the RemoteMongoClientFactory, which passes it back downstream to the newly added CoreRemoteMongoClientFactory, creating a new sync local MongoDB client. Later CoreRemoteMongoCollection's will construct the DataSynchronizer with these fields. DS is encapsulated by CoreSync, which is used as a proxy by the newly added Sync class.
A NamedThrowingServiceClientFactory has been added for the new case of a named ServiceClient that also throws.
This adds the connective glue between
CoreSync
,Sync
,CoreRemoteMongoClient
, theDataSynchronizer
, and theStitchAppClient
.App clients are now constructed with a NetworkMonitor (which defaults to the new DarwinNetworkMonitor class). StitchAppClientInfo will receive that network monitor, as well the
StitchAppClientImpl
, which now conforms toAuthMonitor
. This is passed upstream to theRemoteMongoClientFactory
, which passes it back downstream to the newly addedCoreRemoteMongoClientFactory
, creating a new sync local MongoDB client. LaterCoreRemoteMongoCollection
's will construct theDataSynchronizer
with these fields. DS is encapsulated byCoreSync
, which is used as a proxy by the newly addedSync
class.A
NamedThrowingServiceClientFactory
has been added for the new case of a namedServiceClient
that alsothrows
.