Class GraphQLBrokerChannelSubscriber

  • All Implemented Interfaces:
    org.reactivestreams.Subscriber<graphql.ExecutionResult>

    public class GraphQLBrokerChannelSubscriber
    extends java.lang.Object
    implements org.reactivestreams.Subscriber<graphql.ExecutionResult>
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphQLBrokerChannelSubscriber​(org.springframework.messaging.Message<?> message, java.lang.String operationMessageId, org.springframework.messaging.MessageChannel outboundChannel, long bufferTimeSpanMs, int bufferCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      void onComplete()  
      void onError​(java.lang.Throwable t)  
      void onNext​(graphql.ExecutionResult executionResult)  
      void onSubscribe​(org.reactivestreams.Subscription s)  
      protected void sendDataToClient​(java.lang.Object data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphQLBrokerChannelSubscriber

        public GraphQLBrokerChannelSubscriber​(org.springframework.messaging.Message<?> message,
                                              java.lang.String operationMessageId,
                                              org.springframework.messaging.MessageChannel outboundChannel,
                                              long bufferTimeSpanMs,
                                              int bufferCount)
    • Method Detail

      • 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​(java.lang.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​(java.lang.Object data)