SshListener¶
Accepts inbound TCP connections on the configured host/port and starts a server SshSession for each, wiring its TCP bridge and notifying the consumer's SshServerNotify. The bind outcome goes to the same notify: ssh_listener_started once accepting, ssh_listener_failed if the bind failed. Call dispose() (inherited) to stop listening.
Implements¶
- TCPListenerActor[RuntimeBackend ref] tag
Constructors¶
create¶
new tag create(
auth: TCPListenAuth val,
config: SshServerConfig val,
notify: SshServerNotify tag)
: SshListener tag^
Parameters¶
- auth: TCPListenAuth val
- config: SshServerConfig val
- notify: SshServerNotify tag
Returns¶
- SshListener tag^