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
int
Protocols.LysKOM.Connection.protocol_level
string
Protocols.LysKOM.Connection.session_software
string
Protocols.LysKOM.Connection.software_version- Description
Description of the connected server.
- Method create
Protocols.LysKOM.Connection Protocols.LysKOM.Connection(
string
server
)
Protocols.LysKOM.Connection Protocols.LysKOM.Connection(
string
server
,mapping
options
)- Description
The options argument is a mapping with the following members:
"login"
:int
|string
login as this person number (get number from name).
"password"
:string
send this login password.
"invisible"
:bool
if set, login invisible.
"port"
:int(16bit)
server port (default is 4894).
"whoami"
:string
present as this user (default is from uid/getpwent and hostname).