# postRegisterCallback method

1. @override

Future <void> postRegisterCallback()
override

Called after the registration of all managers against the XmppConnection is done. This method is only called once during the entire lifetime of it.

## Implementation

    @override
    Future<void> postRegisterCallback() async {
      await super.postRegisterCallback();

      getAttributes()
          .getManagerById<DiscoManager>(discoManager)
          ?.registerInfoCallback(
            await _getNode(),
            _onInfoQuery,
          );

      getAttributes()
          .getManagerById<PresenceManager>(presenceManager)
          ?.registerPreSendCallback(
            _prePresenceSent,
          );
    }