Package-level declarations
Types
Defines all APIs for managing the hub-account, this includes the registration phase.
Defines APIs to create upload and download attachment URL.
Marks declarations in SDK-Hub API that are blocking bridges between suspended and non-suspended code — they have limited use-case and shall be used with care in general code. Carefully read documentation of any declaration marked as BlockingBridgeApi
.
Defines all the APIs for the contact discovery.
Defines all the APIs for discovering and managing the user's devices. Also, it extends the registration phase when the user's msisdn has already a registered account.
A marker which indicates the Payload is empty.
Defines a strategy for bridging non-blocking with blocking code.
The HubRSocketClient provides an abstraction over the RSocket implementation, to interact with the hub-server's RSocket APIs.
A builder class for HubRSocketClient DSL. To create an instance of builder, use HubRSocketClient factory function.
The rsocket-connector which the HubRSocketClient will be based on.
A builder class for HubRSocketConnector DSL. To create an instance of builder, use HubRSocketConnector factory function.
A wrapper around HubRSocketConnector to provide a more Java friendly API.
HubServerRSocketInstance is used to specify the hub-server instance which the client will connect on. It encapsulates the ServerClient which this client represents and the address of the hub-server's instance.
Represents a socket address.
Represents the time internal for KEEPALIVE frames.
Defines the core APIs to send and retrieve messages.
Represents a mime-type with name. We can use it to access the MimeType through text (see MimeType).
Represents the Encoding MIME Type for encoding of Data and Metadata.
Represents the predicate for retry logic.
Defines APIs for the registration phase. The registration phase is the main entry point to imahub's services, where one should retrieve his imahub-uuid at the end of it.
Defines APIs for configuring a server-client. These APIs can be used after authorization phase by a server-client to configure his capabilities.
Represents the Setup Frame that is sent by the client to inform the server of the parameters under which it desires to operate.
Defines all the APIs for managing the signal-protocol compliant keys.
Predefined well-known mime-types (see MimeType).
Functions
A builder function for creating an address.
Blocking-call variant of SignalKeys.countKeys.
Blocking-call variant of Attachments.createAttachmentUrl.
Blocking-call variant of Accounts.deleteAccount.
Blocking-call variant of ServerClientConfigurer.getAllInstalledPlugins.
Blocking-call variant of Contacts.getContacts.
Blocking-call variant of Contacts.getContacts.
Blocking-call variant of Devices.getDevices.
Blocking-call variant of SignalKeys.getKeys.
A blocking builder function for creating a HubRSocketClient.
Blocking-call variant of Registration.registerAccount.
Blocking-call variant of Registration.registerNonSignalCompliantAccount.
Blocking-call variant of Registration.replaceMasterDevice.
Blocking-call variant of SignalKeys.setKeys.
Blocking-call variant of ServerClientConfigurer.updateConfig.
Blocking-call variant of Messages.verifyRetrievedMessage.
Configures HubRSocketConnector to be compatible with hub-server and stores client-name, jwt token with proper mimeType.
Configures setupPayload
to store clientName and jwt token in proper format.
Flux variant of Messages.createMessageChannel.
Flux variant of Messages.createRejectedMessageChannel.
Flux variant of Contacts.getContacts stream.
Returns the hub-client's CoroutineContext strategy.
A builder function for creating a HubRSocketClient.
A builder function for creating HubRSocketConnector.
Set-ups the configuration to be compatible with hub-server.
A factory function for creating a HubServerConnector with the given parameters.
A factory function for creating a PayloadMimeType with data and metadata as MimeTypeWithName.
Flux variant of Messages.requestMessagesStream.
Runs a new coroutine in HubClientCoroutineContextStrategy.clientCoroutineContext context and blocks the current thread until its completion. This function should not be used from a coroutine.
A factory function for creating SetupPayload with data and metadata as ByteArray.
A factory function for creating SetupPayload with data and metadata as String.
By default, springboot's RSocket implementations is using mime-type metadata of MessageRSocketCompositeMetadata.
Streams messages to hub-server.
Flux variant of Messages.streamMessages.