Class PostSubscriptionCallback

java.lang.Object
com.graphql_java_generator.samples.forum.client.subscription.PostSubscriptionCallback
All Implemented Interfaces:
SubscriptionCallback<Post>

public class PostSubscriptionCallback extends Object implements SubscriptionCallback<Post>
Author:
etienne-sf
  • Field Details

    • logger

      protected static org.slf4j.Logger logger
      The logger for this class
    • connected

      public boolean connected
      Indicates whether the Web Socket is connected or not
    • nbReceivedMessages

      public int nbReceivedMessages
    • lastReceivedMessage

      public Post lastReceivedMessage
    • lastReceivedClose

      public String lastReceivedClose
    • lastReceivedError

      public Throwable lastReceivedError
    • latchNewMessage

      public CountDownLatch latchNewMessage
  • Constructor Details

    • PostSubscriptionCallback

      public PostSubscriptionCallback()
  • Method Details