public class DevNullPublisher extends Object implements ContinualMessagePublisher
ContinualMessagePublisher.TopicUnavailableException| Constructor and Description |
|---|
DevNullPublisher() |
DevNullPublisher(org.json.JSONObject settings) |
DevNullPublisher(ServiceContainer sc,
org.json.JSONObject settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush()
For implementations with batching, flush the pending messages.
|
ContinualMessageSink |
getTopic(String topic)
Get a message sink for a specific topic.
|
public DevNullPublisher()
public DevNullPublisher(org.json.JSONObject settings)
public DevNullPublisher(ServiceContainer sc, org.json.JSONObject settings)
public ContinualMessageSink getTopic(String topic) throws ContinualMessagePublisher.TopicUnavailableException
ContinualMessagePublishergetTopic in interface ContinualMessagePublisherContinualMessagePublisher.TopicUnavailableException - if the topic name is not supported or somehow not availablepublic void flush()
ContinualMessagePublisherflush in interface ContinualMessagePublisherpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2023 continual.io. All rights reserved.