From OpenSCADAWiki
Revision as of 16:58, 7 April 2020 by FuzzyBot (Talk | contribs) (Importing a new version from external source)
Public methods:
- TProtocolIn( const string &name ); — Initializing constructor.
- string name( ); — The name of the input session.
- AutoHD<TTransportIn> &srcTr( ) — The transport-source of the opening of the session of the input protocol.
- const string &srcAddr( ) — The sender address; second line contains service part of the address for backward messages.
- virtual unsigned waitReqTm( ); — A request waiting time on input transport (in milliseconds), after what call to the protocol with the empty message — the polling mode. Setting it to zero will disable the polling mode.
- virtual void setSrcTr( TTransportIn *vl ) — Setting of the transport-source of the opening of the session of the input protocol.
- virtual void setSrcAddr( const string &vl ); — Setting of the sender address.
- int writeTo( const string &data ); — Sending the messages data backward to the sender, into srcAddr().
- virtual bool mess( const string &request, string &answer ); — Transfer of unstructured data to their processing by the protocol.
- TProtocol &owner( ) const; — The protocol, the owner of input sessions.