/** * Register interest in certain system events. The {@link OtpNodeStatus * OtpNodeStatus} handler object contains callback methods, that will be * called when certain events occur. * * @param handler * the callback object to register. To clear the handler, specify * null as the handler to use. * */ public void registerStatusHandler(OtpNodeStatus handler) { lock (this) { this.handler = handler; } }