From OpenSCADAWiki
CONCEPTUAL > Unification the associated output transports to the input one AND the generic output transport connection
- FIX: Unification the associated output transports processing of the input Sockets transport for:
- Transport:
- the function TTransportIn::assTrO() renamed to TTransportIn::associateTrO() and expanded by creation new transports at the first and next removing for stopped ones, and the just created transports appended by reading the initial connection ID with it registering in the connection parameter "initConID";
- the new function TTransportIn::associateTr() and its UserAPI variant SYS.Transport["Modul"]["in_Transp"].associateTr() of obtaining the output transport object at its Connection ID;
- the associated output transports from an input one appended by removing at the inactivity at the TTransportIn::keepAliveTm();
- the new UserAPI function SYS.Transport["Modul"]["in_Transp"].associateTrsList() as a correct naming variant to assTrsList();
- the output transport object appended by the UserAPI functions conPrm() and setConPrm() of accessing the connection parameters;
- changing the name template in "inA_ID_N" of the associated output transports to the input one;
- FIX:Sockets: the input transports prevented at spare socket closing in the initiative mode; the new initiative connection limit checking moved to the main limits checking part.
- LibsDB.OscadaLibs: tmplib_base.initConsAssignTrs: Renamed to initConAssociateTrs and adapted to use the function conPrm("initConID") and associateTrsList().
- Transport:
- The generic output transport connection:
- Transports:
- the new function TTransportS::outAt() and its UserAPI variant SYS.Transport.outAt() of the output transport generic obtaining from the unified address;
- TTransportS::extHost() moved to use TTransportS::outAt().
- Transport,UI.{QTCfg,WebCfgD}: The field "Transport" of the external hosts table expanded for specifying the transport address in the unified-common form and expanded by the selection specifying per item with support such behaviour in the common configurators.
- DAQ.ModBus: The first one what moved to use the unified connection to the output transport.
- LibsDB.OscadaLibs: tmplib_DevLib.mbBase: Switched to use TTransportS::outAt().
- Transports: