Picture of tsn
Registered 4 years 358 days
tsn Sunday, 9 August 2020, 09:22 PM
Replicator concept
Dear innovaphone,

Could you please clarify do you have more details about how replicator works?

For example, if I just want to replicate users table what are the minimal steps to do this? Do I still need to do the following:

When an AppWebsocket connection is established, this AppWebsocket connection needs to be added to the JsonApiContext

class SDKSampleSession : ..., public AppWebsocket, ... { class JsonApi * jsonApi = sdksample->CreateJsonApi("PbxTableUsers", this, msg, base); if (jsonApi) jsonApi->JsonApiStart(); }

as stated in "Task 1: Create your replicator object" of Replicator Tutorial?

Is it possible after database init to replicate all the data and start receiving updates without dependency on any client's websocket connections?

Best regards,
Sergey
Picture of tsn
Registered 4 years 358 days
tsn Tuesday, 11 August 2020, 06:45 AM
Re: Replicator concept
Any updates on this?
← You can define your color theme preference here