Proper way to connect cocoa app to relativity Server?

Using latest betas of Elements/fire/DA and trying to make a connection to a relativity server…

is this the correct way??

method MAAData.initialize;
begin
  ROMessage := new ROBinMessage;
  ROChannel := new ROHTTPClientChannel withTargetURL(serverURL);
  
  fDataService := new RORemoteService withMessage(ROMessage) channel(ROChannel) serviceName('DataService.'+SchemaName);
  fDataModule := new DARemoteDataAdapter withDataService(fDataService);
  fDataModule.delegate := self;
  fDataModule.username := _Username;
end;

method MAAData.remoteDataAdapterNeedsLogin(adapter: not nullable DARemoteDataAdapter): BOOL;
begin
  result := adapter.loginWithString(RelativityConnectionString);
end;

I figured it out…you can ignore this post.

1 Like