PrivMX DOCS
API Reference/PrivMX Endpoint Java Extra/Core

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 Server URL

public void BasicPrivmxEndpoint(
Set<Modules> enableModule,
String userPrivateKey,
String solutionId,
String bridgeUrl
)

Fields

connection

Connection Reference to Connection module.

eventApi

EventApi Reference to Inbox 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.

public void close()

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.

PrivMX Endpoint Java v2.3

This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however