NptBase class abstract

Implemented types

Constructors

NptBase({required NptParams params, required AtClient atClient, Stream<String>? logStream})

Properties

atClient → AtClient
final
done Future
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
logger → AtSignLogger
final
logStream Stream<String>?
Yields every log message that is written to stderr
final
namespace String
final
params NptParams
final
progressStream Stream<String>?
Yields a string every time something interesting happens with regards to progress towards establishing the connection.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendControlHeartbeats bool
getter/setter pair
sessionId String
final

Methods

close() Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() Future<int>
  • Sends request to rvd
  • Sends request to npd
  • Waits for success or error response, or time out after 10 secs
  • Run local srv which will bind to some port and connect to the rvd
  • Return the port which the local srv is bound to
  • inherited
    runInline({int? localRvPort}) Future<SocketConnector>
  • Sends request to rvd
  • Sends request to npd
  • Waits for success or error response, or time out after 10 secs
  • Run local srv which will bind to some port and connect to the rvd
  • Return the SocketConnector created by Npt
  • inherited
    sendProgress(String message) → dynamic
    Subclasses should use this method to generate progress messages
    toString() String
    A string representation of this object.
    inherited

    Operators

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