Class Subscriber
- java.lang.Object
-
- de.unistuttgart.isw.sfsc.commonjava.patterns.pubsub.Subscriber
-
- All Implemented Interfaces:
NotThrowingAutoCloseable,AutoCloseable
public final class Subscriber extends Object implements NotThrowingAutoCloseable
-
-
Constructor Summary
Constructors Constructor Description Subscriber(PubSubConnection pubSubConnection, Consumer<com.google.protobuf.ByteString> subscriberFunction, com.google.protobuf.ByteString subscriberTopic, Executor executor)
-
-
-
Constructor Detail
-
Subscriber
public Subscriber(PubSubConnection pubSubConnection, Consumer<com.google.protobuf.ByteString> subscriberFunction, com.google.protobuf.ByteString subscriberTopic, Executor executor)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceNotThrowingAutoCloseable
-
-