Class HeartbeatModule

    • Method Summary

      Modifier and Type Method Description
      void close()  
      static HeartbeatModule create​(PubSubConnection pubSubConnection, java.util.concurrent.ScheduledExecutorService scheduledExecutorService, HeartbeatParameter heartbeatParameter)  
      void startSession​(java.lang.String remoteId, com.google.protobuf.ByteString remoteTopic, java.util.function.Consumer<java.lang.String> onDeceive)  
      • Methods inherited from class java.lang.Object

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

      • startSession

        public void startSession​(java.lang.String remoteId,
                                 com.google.protobuf.ByteString remoteTopic,
                                 java.util.function.Consumer<java.lang.String> onDeceive)
      • close

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