Class Protocols.LysKOM.Connection
- Description
This class contains nice abstraction for calls into the server. They are named "call", "async_call" or "async_cb_call", depending on how you want the call to be done.
- Variable
protocol_level
Variable session_software
Variable software_version
intProtocols.LysKOM.Connection.protocol_level
stringProtocols.LysKOM.Connection.session_software
stringProtocols.LysKOM.Connection.software_version- Description
Description of the connected server.
- Method create
Protocols.LysKOM.Connection Protocols.LysKOM.Connection(stringserver)
Protocols.LysKOM.Connection Protocols.LysKOM.Connection(stringserver,mappingoptions)- Description
The options argument is a mapping with the following members:
"login":int|stringlogin as this person number (get number from name).
"password":stringsend this login password.
"invisible":boolif set, login invisible.
"port":int(16bit)server port (default is 4894).
"whoami":stringpresent as this user (default is from uid/getpwent and hostname).