File Transport between Server/Client
What kind of Service should I define for ".thrift"-file to use it later for my Program? This File Transport should be between the Client and the Server and it should be "partly". StreamFileService.thrift: struct FileChunk { 1: binary data 2: i64 remaining } service StreamFileService { FileChunk getBytes(1:string fileName, 2: i64 offset, 3: i32 size); } StreamFileClient.java: public class StreamFileClient { private int fileChunkSize = 16; private String filePath; public String getFilePath() { return filePath; } public void setFilePath(String filePath) { this.filePath = filePath; } private void