Method Protocols.LysKOM.Connection()->async_XXX()
- Method async_XXX
mixed
XXX(mixed
...args
)
object
async_XXX(mixed
...args
)
object
async_cb_XXX(function
(:void
)callback
,mixed
...args
)- Description
Do a call to the server. This really clones a Protocols.LysKOM.Request object, and initialises it. XXX is to be read as one of the calls in the lyskom protocol. ('-' is replaced with '_'.) (ie, logout, async_login or async_cb_get_conf_stat.)
The first method is a synchronous call. This will send the command, wait for the server to execute it, and then return the result.
The last two are asynchronous calls, returning an initialised Protocols.LysKOM.Request object.