TopicClient class

Implemented types

Constructors

TopicClient(CredentialProvider credentialProvider, TopicClientConfiguration configuration)
Client to perform publish and subscribe operations against a Momento topic.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Close the client and free up all associated resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(String cacheName, String topicName, String value) Future<TopicPublishResponse>
Publish a value to a topic.
override
publishBytes(String cacheName, String topicName, List<int> value) Future<TopicPublishResponse>
Publish a value to a topic.
override
subscribe(String cacheName, String topicName) Future<TopicSubscribeResponse>
Subscribe to a topic.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited