channel.disconnect();
client.stop();
}
public void getFileContent(String fileName) throws Exception {
GetFileContentRequest request = GetFileContentRequest.newBuilder().setFileName(fileName).build();
GetFileContentResponse response = slaveService.getFileContent(null, request);
System.out.println(response.getErrorCode());
System.out.println(response.getFileSize());
ByteString content = response.getContent();
System.out.println(content.size());