Class Subscriber

    • Constructor Summary

      Constructors 
      Constructor Description
      Subscriber​(PubSubConnection pubSubConnection, java.util.function.Consumer<com.google.protobuf.ByteString> subscriberFunction, com.google.protobuf.ByteString subscriberTopic, java.util.concurrent.Executor executor)  
    • Method Summary

      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

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

      • Subscriber

        public Subscriber​(PubSubConnection pubSubConnection,
                          java.util.function.Consumer<com.google.protobuf.ByteString> subscriberFunction,
                          com.google.protobuf.ByteString subscriberTopic,
                          java.util.concurrent.Executor executor)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface NotThrowingAutoCloseable