public class GrpcStreamSubscription<T> extends java.lang.Object implements Subscription<T>
Modifier and Type | Field and Description |
---|---|
protected io.grpc.Context.CancellableContext |
context |
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
GrpcStreamSubscription() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUnsubscribed()
Return whether it's been unsubscribed or not.
|
void |
unsubscribe()
UnSubscribe current subscription.
|
protected final transient org.slf4j.Logger logger
protected final io.grpc.Context.CancellableContext context
public void unsubscribe()
Subscription
unsubscribe
in interface Subscription<T>
public boolean isUnsubscribed()
Subscription
isUnsubscribed
in interface Subscription<T>