join method
Join "clients" / Members to scoutList OR affair. placardM mediates necessary info. Usage: mission, dawoApp, rumba, chore, dawo_example You can join scout OR affair OR x TODO parameter for to join scout R affair OR x TODO parameter to get mission.name for lastJoin:ed
Implementation
void join(String name, Map<String, String> plcM, String inMsg, caller) {
/// Save caller-objects name for box aso.
joinLast = name;
buf.writeln('con:join: starting by:$caller ');
// TODO : if #caller is in joinM
// else: caller is Rumba, Chore or example
/// Operations register to Connector with placardM.
/// Using Analyzer class from dawolang. TODO: get clause from caller.
String analyzeS = '';
/// NOTE: this returns a String
analyzeS = d_lang.an.analyzeStrS(inMsg, d_lang.lb.wordList);
List<String> analyzeL =
boxServe.infoBox({':con:join:dl:an:': '$analyzeS'}, 18, 140, 15);
// analyzeL.addAll(boxServe.infoBox({':con:join:dl:an:': '$analyzeS'} , 8, 100, 15));
analyzeL.forEach(print);
print(':con:join:Call > :dawolang:analyze:watch:check: in ');
// TODO Output!! '..:debug:dawolang:print:.:connector;join:...');
// TODO Stop keeping placard here: get: joinM.find.placardM
// Placard here is unnecessary, after scoutSolve has access viu joinM
// howTo NULL String Map
// hklTry: do no null String
String actorS = '';
actorS = plcM['actor'].toString(); // hklTry: cast to String
String senderS = plcM['sender'].toString(); // hklTry: cast to String
String receiverS = plcM['receiver'].toString(); // hklTry: cast to String
String comS = plcM['command'].toString(); // hklTry: cast to String
String msgS = plcM['msg'].toString(); // hklTry: cast to String
String _S = "_plcM:-A: $actorS S: $senderS R: $receiverS C: $comS M: $msgS";
_flowC(':CN: $_S', _pB);
/// call to previous method.
joinSolve(inMsg, caller);
String joinLogS = '$emblem :je: $actorS $comS $msgS $senderS';
joinLog.add(joinLogS);
_flowC(inMsg, _pB);
/// Using Analyzer class from dawolang.
String _weightStringMsg = d_lang.an.weightString(inMsg, d_lang.lb.wordList);
_flowC(_weightStringMsg, _pB);
inMsgL.add(inMsg); // for keeping#unmodified inMsg.
/// call to bind OR opCom
///
if (_pB) {
bind.mark(actorS, senderS, receiverS, comS, msgS, inMsg);
print('--<<-------- bindingM - done -----------------\n');
_flowC('operationMapPrint OR shortMapPrin $info', _pB);
print('** :C:joint: operationMapPrint OR shortMapPrint plcM **');
// tl.operationMapPrint(plcM);
tl.shortMapPrint(plcM);
print('--<<-------- plcM ------------------------');
// TODO connector add joinM add BindingM
}
_flowC(':CN: --<<--<<:connector:join: done C:$caller <<--<<--', _pB);
}