ApplicationIsolateServer class final
- Implemented types
Constructors
- ApplicationIsolateServer(ApplicationServer server, SendPort sendPort)
Properties
- application → Application
-
The application that is running on the server.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → Logger?
-
The logger of the instance.
no setteroverride
- messageHub → IsolateMessageHub
-
final
- receivePort → ReceivePort
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendPort → SendPort
-
final
- server → ApplicationServer
-
final
- url → Uri
-
The URL that the server is listening on.
no setteroverride
Methods
-
close(
{bool force = false}) → Future< void> -
Closes the server and returns a future that completes when all resources
are released.
override
-
listener(
Object? value) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reload(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bind(
SendPort sendPort, Application application, Object address, int port, {SecurityContext? securityContext, int backlog = 0, bool v6Only = false, bool requestClientCertificate = false, Logger? logger}) → Future< ApplicationIsolateServer> -
Binds a
application
to anaddress
andport
.override