Slave client class.
Returns client IP address.
Returns:
Slave client IP address.
If it is called in uniserver mode, returns thread
string instead.
inline notify (msg:Dynamic):Void
Marks messages as notification and sends it to this client. This method is thread-safe. Cache server notifications are described in Notifications article.
The message object has to have _type
string field with message type.
Usage example:
var s = server.getClient(serverID);
s.notify({
_type: 'game.start',
// ...
});
Parameters:
msg
Server message. Anonymous object.