-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make server keep connection open after receiving ES (#305)
Signed-off-by: litt <[email protected]>
- Loading branch information
Showing
6 changed files
with
123 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/grpc/Pipeline.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.hedera.pbj.runtime.grpc; | ||
|
||
import java.util.concurrent.Flow; | ||
|
||
/** | ||
* Represents a pipeline of data that is being processed by a gRPC service. | ||
* | ||
* @param <T> The subscribed item type | ||
*/ | ||
public interface Pipeline<T> extends Flow.Subscriber<T> { | ||
/** | ||
* Called when an END_STREAM frame is received from the client. | ||
*/ | ||
void clientEndStreamReceived(); | ||
} |
Oops, something went wrong.