PrivmxEndpointContainer
Manages certificates, Platform sessions, and active connections. Implements event loop that can be started using startListening. Contains instance of CryptoApi.
Functions
Link copied to clipboard
Disconnects connection matching given connectionId
and removes it from the container. This method is recommended for disconnecting connections by their ID from the container.
Link copied to clipboard
Disconnects all connections and removes them from the container.
Link copied to clipboard
Returns connection matching given connectionId
.
Link copied to clipboard
Sets path to the certificate used to create a secure connection to PrivMX Bridge. It checks whether a .pem file with certificate exists in certsPath
and uses it if it does.
Link copied to clipboard
Starts event handling Thread.
Link copied to clipboard
Stops event loop.