onStart method

  1. @protected
Future<void> onStart()

Bring up the transport this host owns. Only called when ownsTransport.

Runs before the ServerEventType.started event, so anything the event's message reports (a host and port, say) is already known.

Throws UnimplementedError unless overridden: a host that claims its transport must also drive it.

Implementation

@protected
Future<void> onStart() async => throw _missingHook('onStart');