servoy sSummary12%30%58%height: 30px;3Methods SummaryGet a broadcast object giving it a (nick)name and on a specific channel, the callback is used for getting messages of other clients on that channel The function gets 2 arguments (nickName, message)Returns the current client JSClientInformation object.Returns an array of JSClientInformation elements describing the clients connected to the server./* Returns an array of JSClientInformation elements describing the clients connected to the server filtered by the a client info string.Returns true if the server is in maintenance mode, false otherwise.voidSends a message to all connected clients.voidSends a message to a specific client, identified by its clientId.voidShuts down all connected clients.voidShuts down a specific client, identified by its clientId.
Get a broadcast object giving it a (nick)name and on a specific channel, the callback is used for getting messages of other clients on that channel
The function gets 2 arguments (nickName, message)
prs
Parameters
sIndentnameThe nickname for this user on this channelchannelNameThe channel name where should be listened to (and send messages to)callbackThe callback when for incomming messagesret
/*
Returns an array of JSClientInformation elements describing the clients connected to the server filtered by the a client info string.
This way you can ask for a specific set of clients that have a specific information added to there client information.
Shuts down all connected clients. This method returns immediately, it does not wait until the client shuts down.
clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowshutDownClientname
shutDownClient(clientId)
dessIndent
Shuts down a specific client, identified by its clientId. The clientIds are retrieved by calling the getConnectedClients method. This method returns immediately, it does not wait until the client shuts down.