postRegisterCallback method

  1. @override
Future<void> postRegisterCallback()
override

Run after all negotiators are registered. Useful for registering callbacks against other negotiators. By default this function does nothing.

Implementation

@override
Future<void> postRegisterCallback() async {
  attributes
      .getNegotiatorById<Sasl2Negotiator>(sasl2Negotiator)
      ?.registerNegotiator(this);
  attributes
      .getNegotiatorById<Bind2Negotiator>(bind2Negotiator)
      ?.registerNegotiator(this);
}