Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Myclass implements StreamObserver<CameraRequest>, Closeable {
- ...
- public void onNext(Request req) {
- for (Chunk chunk : getChunks(req))
- this.requestObserver.onNext(builder.setChunk(chunk).build());
- }
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement