Exemple #1
0
 public void setNamespace(Id.Namespace namespace) {
   ConnectionConfig connectionConfig =
       ConnectionConfig.builder(clientConfig.getConnectionConfig())
           .setNamespace(namespace)
           .build();
   this.setConnectionConfig(connectionConfig);
 }
Exemple #2
0
 public void updateAccessToken(PrintStream output) throws IOException {
   AccessToken newAccessToken =
       getNewAccessToken(clientConfig.getConnectionConfig(), output, false);
   clientConfig.setAccessToken(newAccessToken);
 }