Class BroadcastChannel
java.lang.Object
ch.colabproject.colab.api.ws.channel.model.BroadcastChannel
- All Implemented Interfaces:
WebsocketChannel,ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator,Serializable
The channel to be used to transmit data to all online users.
Usage:
Subscription : as soon as possible on client side + on current user reload
Unsubscription : none
- Author:
- maxence
- See Also:
-
Constructor Details
-
BroadcastChannel
public BroadcastChannel()
-
-
Method Details
-
getUrn
Description copied from interface:WebsocketChannelGet uniform resource name- Specified by:
getUrnin interfaceWebsocketChannel- Returns:
- uniform resource name
-
hashCode
public int hashCode() -
equals
Channel equals if they both refer to the same user -
toString
-
build
get the broadcast channel- Returns:
- the broadcast channel
-