Child pages
  • Broadcaster
Skip to end of metadata
Go to start of metadata

Refresh page Apr 16, 2024 06:27

Supported Clients
SmartClient WebClient NGClient

Methods Summary
void broadcastMessage(message) Sends a message to the all other listeners of the channel of this broadcaster.
void destroy() Destroyes and unregister the listener for this channel.
String getChannelName() get the channel name where this broadcaster listens and sends messages to.
String getName() Get the (nick) name for this broadcaster that will be send to other channel listeners.

Methods Details

broadcastMessage(message)

Sends a message to the all other listeners of the channel of this broadcaster.

Parameters

String message The message to send to the other users of this channel

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

destroy()

Destroyes and unregister the listener for this channel.

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

getChannelName()

get the channel name where this broadcaster listens and sends messages to.

Returns

String String

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

getName()

Get the (nick) name for this broadcaster that will be send to other channel listeners.

Returns

String String

Supported Clients

SmartClient,WebClient,NGClient

Sample

 

  • No labels