<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi guys<br>
<br>
After 2 days I understand some issues with ESL and the NodeJS ESL
wrapper (modesl).<br>
<br>
Learning to use event socket I read that has commands like: api -
bgapi - linger, nolinger etc. <br>
Then, when reading the ESL wrapper for NodeJS I can't found those
sockets commands. Only found api and bgapi, but not linger,
nolinger, etc. So, the wrapper has the same methods as ESL has. But
why I can't found those linger and nolinger methods? Here is the
answer from the ESL wiki:<br>
<br>
<b>api($command, $args) is identical to sendRecv("api $command
$args")</b><br>
<br>
and<br>
<br>
<b>bgapi($command, $args) is identical to sendRecv("bgapi $command
$args")</b><br>
<br>
So... I can figured that "linger" or other commands should send into
the "send" or "sendRecv" methods. This cause me a confussion.<br>
<br>
So, all ESL commands must be send through "send" or "sendRecv"
methods, and "api" or "bgapi" are shorthands of "send" method for
api/bgapi.<br>
<br>
I think these methods (api-bgapi) should be remove from ESL, to
avoid future confussion.<br>
<br>
Regards<br>
Normando<br>
<b><i><span style="color: rgb(0, 0, 0); font-family: sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
19.200000762939453px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
0px; display: inline !important; float: none;
background-color: rgb(255, 255, 255);"></span></i></b>
</body>
</html>