From OpenSCADAWiki
Jump to: navigation, search

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.