// //------------------ DOK FILE -------------------------------------------------- +Header core.net.ssh.shell.srv =pkg core.net.ssh.shell.srv =title core.net.ssh.shell.srv =short =desc Documentation in progress... // // //------------------ PROTO ----------------------------------------------------- SSH_SHELL_EXEC +Proto SSH_SHELL_EXEC =type SSH_NOTIFICATIONS =mode empty constructor =pkg core.net.ssh.shell.srv =impl mcy =link =desc // // //------------------ PROTO ----------------------------------------------------- SSH_SHELL_TERM +Proto SSH_SHELL_TERM =type SSH_NOTIFICATIONS =mode empty constructor =pkg core.net.ssh.shell.srv =impl mcy =link =desc // // //------------------ PROTO ----------------------------------------------------- shellServerClose +Proto shellServerClose =type fun SSH_shellServerSide -> Int =mode function =pkg core.net.ssh.shell.srv =impl mcy =link =desc // +arg h =type SSH_shellServerSide =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- shellServerOnEvent +Proto shellServerOnEvent =type fun SSH_shellServerSide (fun SSH_shellServerSide SSH_NOTIFICATIONS Str -> a1) -> (fun SSH_NOTIFICATIONS Str -> Int) =mode function =pkg core.net.ssh.shell.srv =impl mcy =link =desc // +arg h =type SSH_shellServerSide =desc // +arg fNotify =type fun SSH_shellServerSide SSH_NOTIFICATIONS Str -> a1 =desc // +arg result =type fun SSH_NOTIFICATIONS Str -> Int =desc // // //------------------ PROTO ----------------------------------------------------- shellServerSendData +Proto shellServerSendData =type fun SSH_shellServerSide Str -> a1 =mode function =pkg core.net.ssh.shell.srv =impl mcy =link =desc // +arg h =type SSH_shellServerSide =desc // +arg data =type Str =desc // +arg result =type a1 =desc // // //------------------ PROTO ----------------------------------------------------- shellServerSetIdleTimeout +Proto shellServerSetIdleTimeout =type fun SSH_shellServer Int -> TcpSrv =mode function =pkg core.net.ssh.shell.srv =impl mcy =link =desc // +arg shellServer =type SSH_shellServer =desc // +arg idleTimeout =type Int =desc // +arg result =type TcpSrv =desc // // //------------------ PROTO ----------------------------------------------------- shellServerSetMaxConnections +Proto shellServerSetMaxConnections =type fun SSH_shellServer Int Int -> TcpSrv =mode function =pkg core.net.ssh.shell.srv =impl mcy =link =desc // +arg shellServer =type SSH_shellServer =desc // +arg maxConnections =type Int =desc // +arg evictionTimeout =type Int =desc // +arg result =type TcpSrv =desc // // //------------------ PROTO ----------------------------------------------------- shellServerStart +Proto shellServerStart =type fun Str Str Str Int (fun SSH_shellServerSide Str Str Str -> Bool) (fun SSH_shellServerSide SSH_NOTIFICATIONS Str -> a1) -> SSH_shellServer =mode function =pkg core.net.ssh.shell.srv =impl mcy =link =desc // +arg serverKey =type Str =desc // +arg serverKeyPassword =type Str =desc // +arg localIp =type Str =desc // +arg localPort =type Int =desc // +arg fCheckAuth =type fun SSH_shellServerSide Str Str Str -> Bool =desc // +arg fNotify =type fun SSH_shellServerSide SSH_NOTIFICATIONS Str -> a1 =desc // +arg result =type SSH_shellServer =desc