Class SimpleServer

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleServer​(PubSubConnection pubSubConnection, java.util.function.Function<com.google.protobuf.ByteString,​com.google.protobuf.ByteString> serverFunction, com.google.protobuf.ByteString serverTopic, 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

      • SimpleServer

        public SimpleServer​(PubSubConnection pubSubConnection,
                            java.util.function.Function<com.google.protobuf.ByteString,​com.google.protobuf.ByteString> serverFunction,
                            com.google.protobuf.ByteString serverTopic,
                            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