SSHTransport constructor

SSHTransport(
  1. bool server, {
  2. Identity identity,
  3. Uri hostport,
  4. bool compress,
  5. List<Forward> forwardLocal,
  6. List<Forward> forwardRemote,
  7. VoidCallback disconnected,
  8. ResponseCallback response,
  9. StringCallback print,
  10. StringCallback debugPrint,
  11. StringCallback tracePrint,
  12. SocketInterface socket,
  13. Random random,
  14. SecureRandom secureRandom,
})

Implementation

SSHTransport(this.server,
    {this.identity,
    this.hostport,
    this.compress,
    this.forwardLocal,
    this.forwardRemote,
    this.disconnected,
    this.response,
    this.print,
    this.debugPrint,
    this.tracePrint,
    this.socket,
    this.random,
    this.secureRandom}) {
  random ??= Random.secure();
}