From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 6: Line 6:
 
* ''void close( const string &name );'' — Closing of the input session.
 
* ''void close( const string &name );'' — Closing of the input session.
 
* ''AutoHD<TProtocolIn> at( const string &name ) const;'' — Connecting to the open input sessions.
 
* ''AutoHD<TProtocolIn> at( const string &name ) const;'' — Connecting to the open input sessions.
* ''virtual void outMess( XMLNode &io, TTransportOut &tro );'' — The data transfer by the objects of the OpenSCADA core in the XML tree ''io'' to the remote system via the ''tro'' transport and the current output protocol. Presenting the data in the XML tree is non-standardized and specific to the logical structure of the protocol. This data are serialized-converted in a sequence of bytes according to the protocol and are sent via the specified ''tro'' output transport by the [[Special:MyLanguage/Documents/API#TTransportOut|messIO() function]].
+
* ''virtual void outMess( XMLNode &io, TTransportOut &tro );'' — The data transfer by the objects of the OpenSCADA core in the XML tree ''io'' to the remote system via the ''tro'' transport and the current output protocol. Presenting the data in the XML tree is non-standardized and specific to the logical structure of the protocol. This data are serialized converted in a sequence of bytes according to the protocol, and are sent via the specified ''tro'' output transport by the [[Special:MyLanguage/Documents/API#TTransportOut|messIO() function]].

Latest revision as of 17:52, 8 November 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/API)
'''Public methods:'''
* ''virtual void itemListIn( vector<string> &ls, const string &curIt = "" );'' — the list ''ls'' of the input protocol sub-elements from the current item  ''curIt'', if the protocol provides them. It is used when selecting an object in the input transport configuration.
* ''void list( vector<string> &list ) const;'' — The list of open input sessions.
* ''bool openStat( const string &name ) const;'' — Check for the openness of the input session with the specified name.
* ''void open( const string &name, TTransportIn *tr = NULL, const string &sender = "" );'' — Opening of the session on behalf of the input transport ''tr''.
* ''void close( const string &name );'' — Closing of the input session.
* ''AutoHD<TProtocolIn> at( const string &name ) const;'' — Connecting to the open input sessions.
* ''virtual void outMess( XMLNode &io, TTransportOut &tro );'' — The data transfer by the objects of the OpenSCADA core in the XML tree ''io'' to the remote system via the ''tro'' transport and the current output protocol. Presenting the data in the XML tree is non-standardized and specific to the logical structure of the protocol. This data are serialized — converted in a sequence of bytes according to the protocol, and are sent via the specified ''tro'' output transport by the [[Special:MyLanguage/Documents/API#TTransportOut|messIO() function]].
Translation'''Public methods:'''
* ''virtual void itemListIn( vector<string> &ls, const string &curIt = "" );'' — the list ''ls'' of the input protocol sub-elements from the current item  ''curIt'', if the protocol provides them. It is used when selecting an object in the input transport configuration.
* ''void list( vector<string> &list ) const;'' — The list of open input sessions.
* ''bool openStat( const string &name ) const;'' — Check for the openness of the input session with the specified name.
* ''void open( const string &name, TTransportIn *tr = NULL, const string &sender = "" );'' — Opening of the session on behalf of the input transport ''tr''.
* ''void close( const string &name );'' — Closing of the input session.
* ''AutoHD<TProtocolIn> at( const string &name ) const;'' — Connecting to the open input sessions.
* ''virtual void outMess( XMLNode &io, TTransportOut &tro );'' — The data transfer by the objects of the OpenSCADA core in the XML tree ''io'' to the remote system via the ''tro'' transport and the current output protocol. Presenting the data in the XML tree is non-standardized and specific to the logical structure of the protocol. This data are serialized — converted in a sequence of bytes according to the protocol, and are sent via the specified ''tro'' output transport by the [[Special:MyLanguage/Documents/API#TTransportOut|messIO() function]].

Public methods:

  • virtual void itemListIn( vector<string> &ls, const string &curIt = "" ); — the list ls of the input protocol sub-elements from the current item curIt, if the protocol provides them. It is used when selecting an object in the input transport configuration.
  • void list( vector<string> &list ) const; — The list of open input sessions.
  • bool openStat( const string &name ) const; — Check for the openness of the input session with the specified name.
  • void open( const string &name, TTransportIn *tr = NULL, const string &sender = "" ); — Opening of the session on behalf of the input transport tr.
  • void close( const string &name ); — Closing of the input session.
  • AutoHD<TProtocolIn> at( const string &name ) const; — Connecting to the open input sessions.
  • virtual void outMess( XMLNode &io, TTransportOut &tro ); — The data transfer by the objects of the OpenSCADA core in the XML tree io to the remote system via the tro transport and the current output protocol. Presenting the data in the XML tree is non-standardized and specific to the logical structure of the protocol. This data are serialized — converted in a sequence of bytes according to the protocol, and are sent via the specified tro output transport by the messIO() function.