MessageType#

class omni.kit.collaboration.channel_manager.MessageType#

Bases: object

Message Type.

Methods

Attributes

ERROR

Underlying channel is broken.

GET_USERS

Ping message to find out who joined this channel.

HELLO

Someone said hello to me.

JOIN

New user joined.

LEFT

Someone left this channel.

MESSAGE

Application specific message.

__init__()#
ERROR = 'ERROR'#

Underlying channel is broken.

GET_USERS = 'GET_USERS'#

Ping message to find out who joined this channel. Clients received this message should respond with HELLO to broadcast its existence.

HELLO = 'HELLO'#

Someone said hello to me. Normally, client sends HELLO when it receives JOIN and GET_USERS.

JOIN = 'JOIN'#

New user joined. Existing clients should respond HELLO when it’s received.

LEFT = 'LEFT'#

Someone left this channel.

MESSAGE = 'MESSAGE'#

Application specific message.