Class GraphQLBrokerChannelSubscriber
java.lang.Object
org.activiti.cloud.services.notifications.graphql.ws.transport.GraphQLBrokerChannelSubscriber
- All Implemented Interfaces:
org.reactivestreams.Subscriber<graphql.ExecutionResult>
public class GraphQLBrokerChannelSubscriber
extends Object
implements org.reactivestreams.Subscriber<graphql.ExecutionResult>
-
Constructor Summary
ConstructorsConstructorDescriptionGraphQLBrokerChannelSubscriber(org.springframework.messaging.Message<?> message, String operationMessageId, org.springframework.messaging.MessageChannel outboundChannel, long bufferTimeSpanMs, int bufferCount) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidvoidvoidonNext(graphql.ExecutionResult executionResult) voidonSubscribe(org.reactivestreams.Subscription s) protected voidsendDataToClient(Object data)
-
Constructor Details
-
GraphQLBrokerChannelSubscriber
public GraphQLBrokerChannelSubscriber(org.springframework.messaging.Message<?> message, String operationMessageId, org.springframework.messaging.MessageChannel outboundChannel, long bufferTimeSpanMs, int bufferCount)
-
-
Method Details
-
cancel
public void cancel() -
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<graphql.ExecutionResult>
-
onNext
public void onNext(graphql.ExecutionResult executionResult) - Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<graphql.ExecutionResult>
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<graphql.ExecutionResult>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<graphql.ExecutionResult>
-
sendDataToClient
-