|
Qore TelnetClient Module Reference
1.3
|
class for Telnet connections; returns an object of class TelnetClient for connecting to telnet sessions More...

Public Member Functions | |
| constructor (string name, string desc, string url, bool monitor, *hash opts, hash urlh) | |
| creates the TelnetConnection object More... | |
| *hash | getRuntimeOptions () |
| returns runtime options More... | |
| string | getType () |
returns "telnet" | |
Static Public Member Functions | |
| static TelnetConnection | make (string name, string desc, string url, bool monitor, *hash opts, hash urlh) |
| static constructor | |
Private Member Functions | |
| TelnetClient | getImpl (bool connect=True, *hash rtopts) |
| returns an TelnetClient object More... | |
class for Telnet connections; returns an object of class TelnetClient for connecting to telnet sessions
supports the following runtime options in getImpl() for connection logging:
"log": a closure accepting a single string for logging"dbglog": a closure taking a single string for detailed technical connection logging| TelnetClient::TelnetConnection::constructor | ( | string | name, |
| string | desc, | ||
| string | url, | ||
| bool | monitor, | ||
| *hash | opts, | ||
| hash | urlh | ||
| ) |
creates the TelnetConnection object
| name | the name of the connection |
| desc | connection description |
| url | connection URL |
| monitor | monitoring flag |
| opts | connection options |
| urlh | broken down URL hash (as returned by Qore::parse_url()) |
|
privatevirtual |
returns an TelnetClient object
| connect | if True, then TelnetClient::connect() is called |
| rtopts | supports the following runtime options in getImpl() for connection logging:
|
Implements ConnectionProvider::AbstractConnection.
| *hash TelnetClient::TelnetConnection::getRuntimeOptions | ( | ) |
returns runtime options
"log": a closure accepting a single string for logging"dbglog": a closure taking a single string for detailed technical connection logging