SSHServer constructor
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,
- RemoteForwardCallback directTcpRequest,
- UserAuthRequest userAuthRequest,
- ChannelRequest sessionChannelRequest,
- 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();
}