openConnection method

  1. @override
Future<ConnManagementScope> openConnection(
  1. Direction dir,
  2. bool usefd,
  3. MultiAddr endpoint
)
override

OpenConnection creates a new connection scope not yet associated with any peer; the connection is scoped at the transient scope. The caller owns the returned scope and is responsible for calling Done in order to signify the end of the scope's span.

Implementation

@override
Future<ConnManagementScope> openConnection(Direction dir, bool usefd, MultiAddr endpoint) async {
  return NullScope();
}