Sync Stream Java
Interface for Sync Pub-sub messaging primitive.
Message Stream is a Sync primitive for real-time pub-sub messaging. Stream Messages are not persisted, they exist only in transit, and will be dropped if (due to congestion or network anomalies) they cannot be delivered promptly.
You can publish Messages and listen for incoming Messages.
To obtain an instance of a SyncStreamJava use SyncClientJava.streams.
Types
Listener for all operations on a SyncStreamJava.
Single message in a SyncStreamJava.
Properties
A date this SyncStreamJava will expire, null
means will not expire.
true
when this SyncStreamJava is offline and doesn't receive updates from backend, false
otherwise.
true
when this SyncStreamJava has been removed on the backend, false
otherwise.
An immutable system-assigned identifier of this SyncStreamJava.
Current subscription state.
An optional unique name for this stream, assigned at creation time.
Functions
Method to add listener for this SyncStreamJava.
Close this SyncStreamJava.
Publish a new message to this SyncStreamJava.
Method to remove all listeners from this SyncStreamJava.
Method to Method to remove listener from this SyncStreamJava.
Remove this SyncStreamJava without opening it.
Set time to live for this SyncStreamJava.