Child pages
  • Broadcaster

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryvoidSends a message to the all other listeners of the channel of this broadcaster.voidDestroyes and unregister the listener for this channel.get the channel name where this broadcaster listens and sends messages to.Get the (nick) name for this broadcaster that will be send to other channel listeners.

functionservoy sDetail2100%height:30px2Methods DetailsbroadcastMessagename

broadcastMessage(message)

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

Parameters

sIndentmessageThe message to send to the other users of this channel
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowdestroyname

destroy()

dessIndent
Destroyes and unregister the listener for this channel.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getChannelNamename

getChannelName()

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

Returns

sIndent String
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getNamename

getName()

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

Returns

sIndent String
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow