SSHServer constructor

SSHServer(
  1. Identity hostkey, {
  2. Uri hostport,
  3. bool compress = false,
  4. List<Forward> forwardLocal,
  5. List<Forward> forwardRemote,
  6. VoidCallback disconnected,
  7. ResponseCallback response,
  8. StringCallback print,
  9. StringCallback debugPrint,
  10. StringCallback tracePrint,
  11. SocketInterface socket,
  12. Random random,
  13. SecureRandom secureRandom,
  14. RemoteForwardCallback directTcpRequest,
  15. UserAuthRequest userAuthRequest,
  16. ChannelRequest sessionChannelRequest,
  17. GexRequest gexRequest,
})

Implementation

SSHServer(Identity hostkey,
    {Uri hostport,
    bool compress = false,
    List<Forward> forwardLocal,
    List<Forward> forwardRemote,
    VoidCallback disconnected,
    ResponseCallback response,
    StringCallback print,
    StringCallback debugPrint,
    StringCallback tracePrint,
    SocketInterface socket,
    Random random,
    SecureRandom secureRandom,
    this.directTcpRequest,
    this.userAuthRequest,
    this.sessionChannelRequest,
    this.gexRequest})
    : super(true,
          identity: hostkey,
          hostport: hostport,
          compress: compress,
          forwardLocal: forwardLocal,
          forwardRemote: forwardRemote,
          disconnected: disconnected,
          response: response,
          print: print,
          debugPrint: debugPrint,
          tracePrint: tracePrint,
          socket: socket,
          random: random,
          secureRandom: secureRandom) {
  onConnected();
}