ServerEventType enum

Enum representing the server event types

Inheritance
Available extensions

Values

started → const ServerEventType

The server has been started

stopped → const ServerEventType

The server has been stopped

clientConnected → const ServerEventType

A client has connected.

clientHandshake → const ServerEventType

A client has completed the handshake.

clientDocumentStatusCreated → const ServerEventType

A client has requested a snapshot. The sever accepts the request and creates a snapshot.

clientChangeApplied → const ServerEventType

A client has sent a change. The server applies the change to the document.

clientPingRequest → const ServerEventType

A client has requested a ping

clientDisconnected → const ServerEventType

A client has disconnected

error → const ServerEventType

An error has occurred

clientOutOfSync → const ServerEventType

A client is out of sync

messageBroadcasted → const ServerEventType

A message has been broadcasted to clients

messageSent → const ServerEventType

A message has been sent to a client

snapshotCreated → const ServerEventType

The server took a snapshot because all clients reached a common frontier and pruned the confirmed history.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isClientChangeApplied → bool
Whether the event is client change applied
no setter
isClientConnected → bool
Whether the event is client connected
no setter
isClientDisconnected → bool
Whether the event is client disconnected
no setter
isClientDocumentStatusCreated → bool
Whether the event is client document status created
no setter
isClientHandshake → bool
Whether the event is client handshake
no setter
isClientOutOfSync → bool
Whether the event is client out of sync
no setter
isClientPingRequest → bool
Whether the event is client ping request
no setter
isError → bool
Whether the event is a client event
no setter
isMessageBroadcasted → bool
Whether the event is a broadcast event
no setter
isMessageSent → bool
Whether the event is a sent event
no setter
isSnapshotCreated → bool
Whether the event is a snapshot created event
no setter
isStarted → bool
Whether the event is started
no setter
isStopped → bool
Whether the event is stopped
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<ServerEventType>
A constant List of the values in this enum, in order of their declaration.