onBind2FeaturesReceived method
override
Called by the Bind2 negotiator when Bind2 features are received. The returned XMLNodes are added to Bind2's bind request.
Implementation
@override
Future<List<XMLNode>> onBind2FeaturesReceived(
List<String> bind2Features,
) async {
if (!bind2Features.contains(carbonsXmlns)) {
return [];
}
_requestedEnablement = true;
return [
XMLNode.xmlns(
tag: 'enable',
xmlns: carbonsXmlns,
),
];
}