Class SimpleServer
- java.lang.Object
-
- de.unistuttgart.isw.sfsc.commonjava.patterns.simplereqrep.SimpleServer
-
- All Implemented Interfaces:
NotThrowingAutoCloseable,java.lang.AutoCloseable
public final class SimpleServer extends java.lang.Object implements NotThrowingAutoCloseable
-
-
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 voidclose()
-
-
-
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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceNotThrowingAutoCloseable
-
-