Class SubscriptionCallbackListInteger

java.lang.Object
org.allGraphQLCases.demo.subscription.SubscriptionCallbackListInteger
All Implemented Interfaces:
com.graphql_java_generator.client.SubscriptionCallback<List<Integer>>

public class SubscriptionCallbackListInteger extends Object implements com.graphql_java_generator.client.SubscriptionCallback<List<Integer>>
This class will receive the items returned by the "subscribeToAList" subscription
Author:
etienne-sf
  • Constructor Details

    • SubscriptionCallbackListInteger

      public SubscriptionCallbackListInteger()
  • Method Details

    • onConnect

      public void onConnect()
      Specified by:
      onConnect in interface com.graphql_java_generator.client.SubscriptionCallback<List<Integer>>
    • onMessage

      public void onMessage(List<Integer> t)
      Specified by:
      onMessage in interface com.graphql_java_generator.client.SubscriptionCallback<List<Integer>>
    • onClose

      public void onClose(int statusCode, String reason)
      Specified by:
      onClose in interface com.graphql_java_generator.client.SubscriptionCallback<List<Integer>>
    • onError

      public void onError(Throwable cause)
      Specified by:
      onError in interface com.graphql_java_generator.client.SubscriptionCallback<List<Integer>>