class

Shirk::ChannelData

Inherits Reference < Object

Channel data class - similar to low-level example

Constructors

new(event : LibSSH::Event, session : LibSSH::Session, server : Shirk::Server)
Source

Instance methods

channel
Source
channel=(channel : LibSSH::Channel)
Source
child_stderr
Source
child_stderr=(child_stderr : Int32)
Source
child_stdin
Source
child_stdin=(child_stdin : Int32)
Source
child_stdout
Source
child_stdout=(child_stdout : Int32)
Source
eof_received
Source
eof_received=(eof_received : Bool)
Source
event
Source
event=(event : LibSSH::Event)
Source
handler_called
Source
handler_called=(handler_called : Bool)
Source
handler_done
Source
handler_done=(handler_done : Bool)
Source
handler_exit
Source
handler_exit=(handler_exit : Int32)
Source
pending_command

For deferred handler execution

Source
pending_command=(pending_command : String)

For deferred handler execution

Source
pending_handler
Source
pending_handler=(pending_handler : Symbol)
Source
pid=(pid : Int32)
Source
registered
Source
registered=(registered : Bool)
Source
server
Source
server=(server : Server)
Source
session
Source
session=(session : LibSSH::Session)
Source
stdin_buffer
Source
stdin_buffer=(stdin_buffer : IO::Memory)
Source
stdin_received
Source
stdin_received=(stdin_received : Bool)
Source
stdin_wait_start

Stdin timeout: if no data received within this time, call handler with empty stdin

Source
stdin_wait_start=(stdin_wait_start : Time::Span | Nil)

Stdin timeout: if no data received within this time, call handler with empty stdin

Source
user
Source
user=(user : String)
Source