ServerInit class
Constructors
-
ServerInit({String ikonBackendUrl = '', String ikonBackendToken = '', String spaceId = '', List<
ServerPluginInit> plugins = const [], String primaryUserId = '', String appSessionId = '', String spaceUrl = '', List<ServerExtensionInit> extensions = const [], String organisationName = '', String spaceName = '', String sessionIdentityHash = '', Map<String, String> sessionIdentity = const {}, int frontendPort = 0, bool debugMode = false, List<ServerInitDatabaseConnectionInfo> databaseConnectionInfos = const [], String runTarget = '', String connectTraceId = '', String connectTokenSecret = '', String stateDatabase = ''}) -
ServerInit.fromJson(Map<
String, dynamic> json) -
factory
- ServerInit.fromReader(TeleportObjectReader reader)
-
factory
- ServerInit.fromTeleport(Uint8List data)
-
factory
Properties
- appSessionId ↔ String
-
getter/setter pair
- connectTokenSecret ↔ String
-
Key this server verifies ConnectTokens with, derived per-server by the backend rather than being
the platform-wide signing secret. It arrives here because a prestarted container was created
before it was claimed, so the value written into its config file at creation belongs to no tenant
yet; provisioning is the point the server learns which key its tokens will carry.
getter/setter pair
- connectTraceId ↔ String
-
Correlation id of the client connect that triggered this warm prestart-swap (from the backend's
/init handling). The server folds its CORE_SERVER_INIT boot timing into a single connect-latency
event keyed by this id, so the warm-boot cost stitches with the other per-connect tiers.
getter/setter pair
-
databaseConnectionInfos
↔ List<
ServerInitDatabaseConnectionInfo> -
getter/setter pair
- debugMode ↔ bool
-
getter/setter pair
-
extensions
↔ List<
ServerExtensionInit> -
getter/setter pair
- frontendPort ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ikonBackendToken ↔ String
-
getter/setter pair
- ikonBackendUrl ↔ String
-
getter/setter pair
- organisationName ↔ String
-
getter/setter pair
-
plugins
↔ List<
ServerPluginInit> -
getter/setter pair
- primaryUserId ↔ String
-
getter/setter pair
- retiredFields ↔ ServerInitRetiredFields?
-
Retired ledger values captured on read: keys the schema no longer names, kept so
code upgrading from an older peer can still reach them. Null when the source carried none.
getter/setter pair
- runTarget ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sessionIdentity
↔ Map<
String, String> -
getter/setter pair
- sessionIdentityHash ↔ String
-
Hash of the session identity values this server was provisioned for.
getter/setter pair
- spaceId ↔ String
-
getter/setter pair
- spaceName ↔ String
-
getter/setter pair
- spaceUrl ↔ String
-
getter/setter pair
- stateDatabase ↔ String
-
Name of the database backing persistent reactive state, as recorded against the space, or empty
when state belongs in asset storage. It rides provisioning rather than being read from the bundle
because a prestarted container is re-pointed at a space here: the bundle's own value describes
whatever app was built, not which store this space had recorded.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toProtocolMessage(
int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage -
toString(
) → String -
A string representation of this object.
inherited
-
toTeleport(
) → Uint8List -
writeTo(
TeleportObjectWriter scope) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fieldIdAppSessionId → const int
- fieldIdConnectTokenSecret → const int
- fieldIdConnectTraceId → const int
- fieldIdDatabaseConnectionInfos → const int
- fieldIdDebugMode → const int
- fieldIdExtensions → const int
- fieldIdFrontendPort → const int
- fieldIdIkonBackendToken → const int
- fieldIdIkonBackendUrl → const int
- fieldIdOrganisationName → const int
- fieldIdPlugins → const int
- fieldIdPrimaryUserId → const int
- fieldIdRunTarget → const int
- fieldIdSessionIdentity → const int
- fieldIdSessionIdentityHash → const int
- fieldIdSpaceId → const int
- fieldIdSpaceName → const int
- fieldIdSpaceUrl → const int
- fieldIdStateDatabase → const int
- retiredFieldIdDynamicConfigJsonContent → const int
- retiredFieldIdSessionId → const int
- teleportOpcode → const int
- teleportVersion → const int