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 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:
      onSubscribe in interface org.reactivestreams.Subscriber<graphql.ExecutionResult>
    • onNext

      public void onNext(graphql.ExecutionResult executionResult)
      Specified by:
      onNext in interface org.reactivestreams.Subscriber<graphql.ExecutionResult>
    • onError

      public void onError(Throwable t)
      Specified by:
      onError in interface org.reactivestreams.Subscriber<graphql.ExecutionResult>
    • onComplete

      public void onComplete()
      Specified by:
      onComplete in interface org.reactivestreams.Subscriber<graphql.ExecutionResult>
    • sendDataToClient

      protected void sendDataToClient(Object data)