ServerProcessManager class

Manages the LiteRT-LM gRPC server process lifecycle

Properties

hashCode int
The hash code for this object.
no setterinherited
isRunning bool
Whether server is running
no setter
port int
Current gRPC server port
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
start({int? port, int? maxHeapMb}) Future<void>
Start the gRPC server
stop() Future<void>
Stop the gRPC server
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ServerProcessManager
no setter

Static Methods

reset() → void
Reset singleton (for testing)