4 /////////////////////////////////////////////////////////////////
5 // WARNING : this is a generated file, don't change it !
6 /////////////////////////////////////////////////////////////////
8 require_once('tools/nel_message.php');
10 class CLoginServiceWebProxy
13 function login($userId, $ipAddress, $callbackClient)
17 $msg->serialUint32($userId);
18 $msg->serialUint32($ipAddress);
20 $callbackClient->sendMessage($msg);
24 class CLoginServiceWebSkel
26 function waitCallback($callbackClient)
28 $message = $callbackClient->waitMessage();
30 switch($message->MsgName
)
33 $this->loginResult_skel($message);
38 // Return the cookie generated for this user session
39 // Eventualy, return an empty string as cookie in case of error
41 function loginResult_skel($message)
43 $msg->serialUint32($userId);
44 $msg->serialString($cookie);
46 loginResult($userId, $cookie);