registerForMpn method

void registerForMpn(
  1. MpnDevice device
)

Operation method that registers the MPN device on the server's MPN Module.

By registering an MPN device, the client enables MPN functionalities such as subscribe.

General Edition Note MPN is an optional feature, available depending on Edition and License Type. To know what features are enabled by your license, please see the License tab of the Monitoring Dashboard (by default, available at /dashboard).

Lifecycle An MpnDevice can be registered at any time. The registration will be notified through a MpnDeviceListener.onRegistered event. Note that forwarding of the registration to the server is made in a separate thread.

  • device An MpnDevice instance, carrying all the information about the MPN device.

Throws IllegalArgumentException if the specified device is null.

Implementation

external void registerForMpn(MpnDevice device);