BasicPrivmxEndpoint
A collection of all PrivMX Endpoint modules. It represents a single connection to PrivMX Bridge.
Constructors
BasicPrivmxEndpoint
Initializes modules and connects to PrivMX Bridge server using given parameters.
Params
enableModule
Set<Modules>
set of modules to initialize; should contain Modules#THREAD to enable Thread module or Modules#STORE to enable Store module
userPrivateKey
String
user private key used to authorize; generated from: CryptoApi#generatePrivateKey or CryptoApi#derivePrivateKey
solutionId
String
SolutionId
of the current project
bridgeUrl
String
Bridge's Endpoint URL
Fields
connection
Connection
Reference to Connection module.
inboxApi
InboxApi
Reference to Inbox module.
storeApi
StoreApi
Reference to Store module.
threadApi
ThreadApi
Reference to Thread module.
Methods
close
Disconnects from PrivMX Bridge and frees memory.
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.